freeswitch官网最新版安装1.10.3
1.系统版本查询:我这里安装的是 debian9
root@qicheng:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.9 (stretch)
Release: 9.9
Codename: stretch
2.安装我们直接根据官网指导进行。soeasy 一气呵成。
官网链接地址:
https://freeswitch.org/confluence/display/FREESWITCH/Debian+9+Stretch?src=contextnavpagetreemode
3.这里我们使用源码方式安装:
wget -O - https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/debian-release/ stretch main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list apt-get update # Install dependencies required for the build apt-get build-dep freeswitch # then let's get the source. Use the -b flag to get a specific branch cd /usr/src/ git clone https://github.com/signalwire/freeswitch.git -bv1.10 freeswitch cd freeswitch # Because we're in a branch that will go through many rebases, it's # better to set this one, or you'll get CONFLICTS when pulling (update). git config pull.rebase true # ... and do the build ./bootstrap.sh -j ./configure make make install
4.安装完成测试。
2020-07-16 10:14:43.589009 [INFO] switch_core.c:2510 FreeSWITCH Version 1.10.3-release+git~20200511T105455Z~129de34d84~64bit (git 129de34 2020-05-11 10:54:55Z 64bit) FreeSWITCH Started Max Sessions [1000] Session Rate [30] SQL [Enabled]