Document toolboxDocument toolbox

(14.0) FreeSWITCH installation



Pre Conditions:

Before installing FreeSwitch you must run these commands.

#sudo apt update
#sudo apt install -y gnupg2 wget lsb-release
#sudo apt upgrade

Also make sure that the repositories listed in the "/etc/apt/sources.list" are for the latest release of Debain. (Currently 12.2 'Bookworm')
If you make any changes to the "sources.list" file, make sure to run the update command again.

#sudo apt update

Go into super user mode to get rid of permission issues.

#su

Now, run the following commands one by one to add Freeswitch repositories to your apt directory

#$TOKEN=pat_8Errev5k19bRCnmsGdJSxGEs
#wget --http-user=signalwire --http-password=$TOKEN -O /usr/share/keyrings/signalwire-freeswitch-repo.gpg https://freeswitch.signalwire.com/repo/deb/debian-release/signalwire-freeswitch-repo.gpg
#echo "machine freeswitch.signalwire.com login signalwire password $TOKEN" > /etc/apt/auth.conf
#chmod 600 /etc/apt/auth.conf
#echo "deb [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
#echo "deb-src [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list

Note that "#" is the indicator of a new command. Do not copy and run all commands at the same time.

After these commands run the update command and the install command to install Freeswitch.

#sudo apt update
#apt-get install -y freeswitch-meta-all


Complete documentation can be found here