ubuntu12.04 freeswitch 安装

Begin


apt-get update
cd /usr/src
wget http://files.freeswitch.org/freeswitch-1.2.9.tar.bz2
tar  -jxvf freeswitch-1.2.9.tar.bz2
cd freeswitch-1.2.9
注意这里是一行:【apt-get install git-core build-essential autoconf automake libtool libncurses5 libncurses5-dev gawk libjpeg-dev zlib1g-dev pkg-config libssl-dev】
update-alternatives --set awk /usr/bin/gawk
apt-get install unixodbc-dev
apt-get install libmyodbc

./configure
make
make install
make sounds-installs
make moh-install

设置公共的:ln -sf /usr/local/freeswitch/bin/freeswitch /usr/local/bin/
设置公共的:ln -sf /usr/local/freeswitch/bin/fs_cli /usr/local/bin/

end
ok
祝你好运
启动freeswitch命令:freeswitch -nonat -hp

猜你喜欢

转载自laoyaos.iteye.com/blog/2022566