本文來自csdn lidp http://blog.csdn.net/perfectpdl,轉載註明出處,謝謝。
我建了一個 Freeswitch 核心研究 交流群, 45211986, 歡迎加入, 另外,提供基於SIP的通訊伺服器及用戶端解決方案, 提供基於IMS/SIP的視頻硬終端整體solution.
1. Edit
modules.conffile to customize which modules are compiled bydefault
freeswitch根目錄中的modules.conf配置編譯哪些模組
2. Run configure script
3. Run make and
make install to compile and install
4. Edit modules.conf.xml
tocustomize which modules are loaded by default
編輯設定檔modules.conf.xml指定系統啟動時載入哪些模組,注意與第一步的區別。系統預設載入module.conf檔案中編譯的所有模組,如果想添加自己的模組,一方面要修改modules.conf檔案編譯此模組,另一方面在/usr/local/freeswitch/conf/autoload_configs/modules.conf.xml檔案中指定載入此模組。
5. Install the sound and music files
# make cd-sounds-install
# make cd-moh-install
可以安裝高清語音檔案,用make hd-sounds-install,makehd-moh-install
6. Upgrade tolatest:
# make current
7. Rebuild all:
make sure
8. Install/Re-install default config:
make samples
9.運行
系統預設安裝在 /usr/local/freeswitch/目錄,
[root@openser-dev freeswitch]# pwd
/usr/local/freeswitch
[root@openser-dev freeswitch]# ls
bin conf db grammar htdocs include lib log mod recordings run scripts sounds storage
[root@openser-dev freeswitch]#
啟動freeswitch並後台運行
[root@openser-dev freeswitch]#
/usr/local/freeswitch/bin/freeswitch –nc