FreeSWITCH Installation Guide on Debian 12

 

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 1
Step 2
Step 3
Step 4


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
apt-get update && apt-get install -y freeswitch-meta-all
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

To enhance the system's performance and reliability, install the following optional packages:

Install and Configure unbound

apt -y install unbound
systemctl start unbound
systemctl enable unbound

Install and Configure haveged

apt -y install haveged
systemctl start haveged
systemctl enable haveged

Install and Configure chrony

apt -y install chrony   # installation
systemctl start chrony  # start
systemctl enable chrony # auto start


Comments