centos6.3安装freeswitch

转载自: http://www.wuweixian.com/ipphone/freeswitch/998/

centos6.3安装freeswitch
01.17.2013, freeswitch, by wewe.

1:下载依赖库
sudo yum install git autoconf automake libtool ncurses-devel libjpeg-devel

sudo yum install expat-devel openssl-devel libtiff-devel libX11-devel unixODBC-devel libssl-devel python-devel zlib-devel libzrtpcpp-devel alsa-lib-devel libogg-devel libvorbis-devel perl-libs gdbm-devel libdb-devel uuid-devel @development-tools

2:下载freeswitch
cd /usr/local/src
git clone git://git.freeswitch.org/freeswitch.git
  cd freeswitch
  ./bootstrap.sh

3:编辑模块 Edit modules.conf

   freeswitch目录中的modules.conf配置编译需要加载哪些模块

4:编辑源码
./configure
make

5:安装freeswitch
make all install cd-sounds-install cd-moh-install

6:运行freeswitch
/usr/local/freeswitch/bin/freeswitch

 

后台运行

/usr/local/freeswitch/bin/freeswitch -nc

7:测试
用户1000-1019 密码1234
拨打9664 会听到音乐
拨打5000 进行IVR

你可能感兴趣的:(centos6.3安装freeswitch)