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.
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