前言:
此时各位老铁们对“freeswitchmysql”大体比较注重,兄弟们都需要了解一些“freeswitchmysql”的相关资讯。那么小编在网络上汇集了一些有关“freeswitchmysql””的相关文章,希望姐妹们能喜欢,兄弟们快快来了解一下吧!yum安装freeswitch-1.10.7的第三方信赖
yum install -y git wget lrzszyum install -y autoconf automake libtool openssl* libtiff* libjpeg*yum install -y gcc gcc-c++yum install -y unixODBC-devel.x86_64yum install -y mysql-connector-odbc.x86_64yum install -y sqlite-develyum install -y curl-develyum install -y ldns-develyum install -y libedit-develyum install -y nasmyum install -y lua-develyum install -y opus-develyum install -y postgresql-develyum install -y libsndfile-devel安装两个SIP依赖库:sofia-sip 和 spandsp
git clone sofia-sip./bootstrap.sh./configuremakemake install
git clone spandsp./bootstrap.sh./configuremakemake install安装mp3格式支持模块
yum install -y libshout-devel lame-devel libmpg123-develwget -zxvf lame-3.99.5.tar.gzcd lame-3.99.5./configure --enable-static --enable-sharedmakemake install导入第三方信赖的头文件和库文件
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig安装 epel扩展
yum install -y epel-releaseyum install yum-utilsyum-builddep -y freeswitch --skip-brokenyum install -y yum-plugin-ovl centos-release-scl rpmdevtools下载freeswitch-1.10.7.-release.tar.gz并开始编译安装freeswitch-1.10.7步骤
tar -zxvf freeswitch-1.10.7.-release.tar.gzcd freeswitch-1.10.7.-release./rebootstrap.sh
此时可以编辑配置需要编译的freeswitch模块,vi modules.conf 可以注释掉不需要使用的模块。
vi modules.conf #注释掉不需要的视频模块 mod_av 和 mod_signalwire
./configure --enable-portable-binary \--prefix=/usr/local/freeswitch \--with-gnu-ld --with-openssl \--enable-core-odbc-support --enable-zrtp \--enable-libmp3lamemakemake -j installmake -j cd-sounds-installmake -j cd-moh-install疑难模块编译错误的解决
报错You must install libopus-dev to build mod_opus. Stop. 但确实已经 yum 安装 libopus-dev 或 opus-devel 后依然报错:
解决方法:
yum remove opuswget xvfz opus-1.3.1.tar.gzcd opus-1.3.1./configuremakemake installcp /usr/lib/pkgconfig/opus.* /usr/lib64/pkgconfig/
在安装过程中遇到未安装依赖包的错误,在正确安装依赖包后,需要重新make编译
make clean./configure ...make ...启动Freeswitch
/usr/local/freeswitch/bin/freeswitch -nonat -nosql
版权声明:
本站文章均来自互联网搜集,如有侵犯您的权益,请联系我们删除,谢谢。
标签: #freeswitchmysql