freeswitch编译
2016-02-13 22:46
435 查看
编译1.6版本的话,debian的包就太老,需要添加新源
下载源码
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
安装编译需要的东西
1.4版本
编译freeswitch
运行
linphone配置:
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/`whoami`/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
相关文章推荐
- adb not responding if youd like to retry...的解决方法
- Atitit. Ati IDE 开发平台的第一版规划
- LeetCode 70. Climbing Stairs
- 面试笔试杂项积累-leetcode 261-270
- NYOJ 次方求模102
- sqlite3 for linux
- Listview实现不同类型的布局
- sandbox沙盒介绍以及如何取得沙盒里面各文件的路径,图片导入方式和图片路径获取
- where、group by、having使用
- javascript基础:逻辑运算符
- MyBatis日记
- C语言 extern 经常出错的一处
- HDU 5627 Clarke and MST(贪心、连通性)
- Don't Call Yourself A Programmer, And Other Career
- 约瑟夫问题的单向循环链表的代码实现
- 文件系统与NoSQL分布式存储技术对比
- 妈妈60大寿
- 集线器、交换机、路由器和访问点有什么区别
- 数据库自我检测(答案)
- Windows多线程探究