.FreeSWITCH installation v14.0
Pre Conditions:
Before installing FreeSwitch you must do these.
Git
Libtool
SpanDSP
Installing Git:
Run:
sudo apt update
sudo apt install git
git --version
Installing Libtool:
Use This command to install Libtool: apt-get install libtool
Installing SpanDSP:
What is SpanDSP?
SpanDSP (Digital Signal Processing) is a low-level signal processing library that modulates and demodulates signals commonly used in telephony, such as the "noise" generated by a fax modem or DTMF (Dual-tone multi-frequency) touchpad.
Using that link I have to install SpanDSP.
git clone https://github.com/freeswitch/spandsp
cd spandsp
./bootstrap.sh
./configure
make -j
make install
https://blog.csdn.net/pku1254/article/details/108367312
Installing FreeSwitch:
First go in superuser by (su)
Freeswitch Token = pat_8Errev5k19bRCnmsGdJSxGEs
Follow the below commands for FreeSWITCH installation
apt-get update && apt-get install -yq gnupg2 wget lsb-release
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/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
apt-get update
apt-get build-dep freeswitch
cd /usr/src/
git clone https://github.com/signalwire/freeswitch.git -bv1.10 FreeSWITCH
cd freeswitch
git config pull rebase true
./bootstrap.sh -j
./configure
make
make install
systemctl start freeswitch
systemctl enable freeswitch
Run the below command to open freeSWITCH cli to see installation is successful
/usr/local/freeswitch/bin/fs_cli -r
If the CLI doesn't work, run the below commands and then run the above command.
m /var/run/freeswitch/freeswitch.pid
/usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch
Complete documentation can be found here