1. 程式人生 > 實用技巧 >freeswitch官網最新版安裝1.10.3

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]