Follow the steps below to generate your personal access token in SignalWire.
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
Run the following commands to enable and start the FreeSWITCH service:
systemctl enable freeswitch
systemctl start freeswitch
To enhance the system's performance and reliability, install the following optional packages:
apt -y install unbound
systemctl start unbound
systemctl enable unbound
apt -y install haveged
systemctl start haveged
systemctl enable haveged
apt -y install chrony # installation
systemctl start chrony # start
systemctl enable chrony # auto start
Comments
Post a Comment