欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Centos6安装Freeswitch

程序员文章站 2022-07-15 14:04:07
...

Centos6安装Freeswitch

安装依赖包
yum -y install wget 
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum clean all 
yum makecache
yum install -y git subversion autoconf automake libtool gcc-c++ ncurses-devel make

yum -y install expat-devel openssl-devel libtiff-devel libX11-devel unixODBC-devel libssl-devel python-devel 
yum -y install zlib-devel libzrtpcpp-devel alsa-lib-devel libogg-devel 


libvorbis-devel perl-libs gdbm-devel 
yum -y install libdb-devel uuid-devel @development-tools  patch


yum -y install ldns-devel libidn-devel unbound-devel
yum -y install libjpeg-devel sqlite-devel libcurl-devel
yum -y install pcre-devel libuuid-devel bison-devel bison
yum -y install speex-devel libtheora-devel yasm nasm libedit-devel
下载freeswitch安装包
git clone -b v1.2.stable https://freeswitch.org/stash/scm/fs/freeswitch.git
或者
git clone -b v1.2.stable https://git.oschina.net/nwaycn/freeswitch.git
安装
./bootstrap.sh -j
./configure -C
make && make install 
ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin/ 
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin/ 

Centos6安装Freeswitch
出现如图所示即安装成功