安裝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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章