本文来自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