FreeSWITCH Installation Guide on Debian 12 - Omid-Mohajerani/freeswitch GitHub Wiki
FreeSWITCH Installation Guide on Debian 12
Step 1: Generate Personal Access Token in SignalWire
Follow the steps below to generate your personal access token in SignalWire.
Screenshots for Reference:
Step 2: Install FreeSWITCH from the Package
Replace TOKEN
with the access token you generated in Step 1 before executing the commands below.
TOKEN=pat_2Cn6DSDiELEfkVvrzXswpCCv
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
apt-get update && apt-get install -y gnupg2 wget lsb-release
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
apt-get update && apt-get install -y freeswitch-meta-all
Step 3: Enable and Start the FreeSWITCH Service
Run the following commands to enable and start the FreeSWITCH service:
systemctl enable freeswitch
systemctl start freeswitch
Step 4: Install Useful Optional Packages
unbound
Install and Configure apt -y install unbound
systemctl start unbound
systemctl enable unbound
haveged
Install and Configure apt -y install haveged
systemctl start haveged
systemctl enable haveged
chrony
Install and Configure apt -y install chrony # installation
systemctl start chrony # start
systemctl enable chrony # auto start