zoukankan      html  css  js  c++  java
  • freeswitch编译

    编译1.6版本的话,debian的包就太老,需要添加新源

    echo "deb http://files.freeswitch.org/repo/deb/debian/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
    wget -O - http://files.freeswitch.org/repo/deb/debian/key.gpg |apt-key add -

    下载源码

    git clone https://freeswitch.org/stash/scm/fs/freeswitch.git
    或者
    git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git 1.6

    安装编译需要的东西

    sudo apt-get install autoconf libtool-bin libghc-zlib-dev libjpeg-dev pkg-config libsqlite3-dev libcurl4-openssl-dev libpcre++-dev libspeex-dev libspeexdsp-dev libldns-dev libedit-dev liblua5.2-dev libyuv-dev libvpx2-dev libopus-dev libsndfile-dev

    1.4版本

    sudo apt-get install autoconf libtool-bin libghc-zlib-dev libjpeg-dev pkg-config libsqlite3-dev libcurl4-openssl-dev libpcre++-dev libspeex-dev libspeexdsp-dev libldns-dev libedit-dev liblua5.2-dev libopus-dev libsndfile1-dev

    编译freeswitch

    ./bootstrap.sh
    修改源码目录下的modules.conf,去掉erlang模块注释
    ./configure --prefix=$HOME/fs/freeswitch-bin;make sounds-install moh-install;make install

    运行

    bin/freeswitch -nc
    bin/fs_cli

    linphone配置:

    虚拟机里面的话,记得把视频关闭,否则在呼叫的时候崩溃,很头疼
    sip账户管理,添加
    您的sip地址:sip:1000@fs_ip
    sip代理地址:fs_ip
  • 相关阅读:
    分类算法 学习笔记
    机器学习概述 & 特征工程 学习笔记
    Java基础知识
    牛客中Java工程师模拟面试整理
    leetcode142. 环形链表 II
    面经中的题目整理
    面经总结
    软件设计师补题(2007下半年上午题)
    软件设计师补题(2005上半年上午题)
    软件设计师补题(2005下半年上午题)
  • 原文地址:https://www.cnblogs.com/ziyouchutuwenwu/p/5188392.html
Copyright © 2011-2022 走看看