安装freeswitch 遇到的一些问题记录

centos 7.6 安装freeswitch1.6.20 
 

参考 http://blog.sina.com.cn/s/blog_539d6e0c0102zgvm.html

You must install libopus-dev to build mod_opus. Stop.

报错You must install libopus-dev to build mod_opus. Stop. 但确实已经 yum 安装 libopus-dev 或 opus-devel 后依然报错:
========删除opus,编译安装新版
yum remove opus
wget https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz
tar xvfz opus-1.3.1.tar.gz
cd opus-1.3.1
./configure
make
make install
cp /usr/lib/pkgconfig/opus.* /usr/lib64/pkgconfig/
cd /usr/local/src/freeswitch
make clean
./configure ..... 重新配置以重新生成make文件
make

 

 

freeswitch 需要开放的一些端口     https://freeswitch.org/confluence/display/FREESWITCH/Firewall

 

要在安装好声音文件之后再启动freeswitch 拨打9664 进行测试, 我直接启动后,在安装听不到声音。拨打注册的账号也没有声音。又将freeswitch 重新安装恢复正常

make cd-sounds-install
make cd-moh-install

 

安装tts 时   you must install libflite-dev tu build mod_flite   

    解决方法    原文地址 https://www.jianshu.com/p/61ce097c9026#32-mod_curlmod_flite


$ git clone https://freeswitch.org/stash/scm/sd/libflite.git
$ cd libflite/
$ ./configure  --enable-pic --disable-static --enable-shared && make
$ sudo make install
$ sudo cp /usr/local/lib/pkgconfig/flite.pc /usr/lib64/pkgconfig

重新编译freeswitch  

./configure  

make

make install

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值