最新消息:聚合-分享-->bidutools.com是专注互联网技术的个人博客,大部分来自互联网,以作为笔记查阅。

freeswitch源码安装

FreeSwitch bidu 22浏览

freeswitch源码安装

(1)下载最新源码
Name: down_freeswitch.sh
#########################################################################
#!/bin/bash
base=`pwd`
dest=$base/freeswitch_src
if [ ! -d $dest ];then
mkdir -p $dest
fi

echo $dest
echo “download freeswitch……”

FSfile=$(curl -s https://files.freeswitch.org/releases/freeswitch/ | sed -n ‘s/.*”\(freeswitch\-[0-9]*\.[0-9]*\.[0-9]*\.tar\.gz\)”.*/\1 /p’ | tail -n 1) && echo Downloading $FSfile && curl https://files.freeswitch.org/freeswitch-releases/$FSfile | tar -xz && mv ${FSfile/.tar.gz//} freeswitch

echo “download freeswitch end……”

(2)安装依赖
yum install make autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool python-dev pkg-config libperl-dev libgdbm-dev libdb-dev gettext zlib1g.dev libpcre3 libpcre3-dev libspeexdsp-dev libcurl4-openssl-dev libsqlite3-dev libedit-dev lua5.2 liblua5.2-dev libopus-dev libopusfile-dev libsndfile-dev yasm libldns-dev

yum install gcc-c++
yum install zlib-devel
yum install sqlite-devel
yum install curl-devel
yum install pcre-devel
yum install speex-devel
yum install ldns-devel
yum install libedit-devel
yum install openssl-devel
yum install nasm -y
yum install lua-devel
yum install opus-devel
yum install libsndfile-devel
make && make install
默认安装位置:/usr/local/freeswitch/bin

安装参考:

**https://blog.csdn.net/u012121105/article/details/74238595
**https://blog.csdn.net/singleroot/article/details/52298620

https://blog.csdn.net/A493203176/article/details/78982266

https://blog.csdn.net/wenxuansoft/article/details/79147215
https://blog.csdn.net/u012121105/article/details/74238595

https://blog.csdn.net/u012377333/article/details/44623065
https://blog.csdn.net/xmcy001122/article/details/61623128
https://blog.csdn.net/liyang051/article/details/46739639

https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Explained

https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Explained

https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7#CentOS7andRHEL7-CentOS7andRHEL7-Stable

 

 

转载请注明:BiduTools.com聚合、分享 » freeswitch源码安装