
You will need to install/activate several services for the Freeswitch server. (Troubleshooting Freeswitch service startup is an extensive topic that will not be covered in this article.)Įxit from fs_cli with /bye, /exit or /quit command. If an error is shown, then follow the guidelines described in the output to get more details about the problem and solve it. If this does not help, check Freeswitch status with: If you don’t see the above output, Freeswitch has failed to start, and the console (whose port is 8081) is not reachable. The output should show two lines, similar to these (some numbers will be different):

Netstat -vatupn | grep freeswitch | grep 8081 If after 20 s fs_cli returns an error, you will need to check it with these commands: Sometimes it takes up to 20 s until it is operational. If you get an error, it is possible that Freeswitch has not started yet. Let’s start it:Īlso let’s enable it to start on system reboot: The reason it will fail is because after installation, Freeswitch is not automatically started. # if /etc/freeswitch does not exist, the standard vanilla configuration is deployedĪpt-get update & apt-get install -y freeswitch-meta-allapt-get update & apt-get install -y freeswitch-meta-allĪfter these steps, the official guide tells you to access Freeswitch with the command: # you may want to populate /etc/freeswitch at this point. Wget -O /usr/share/keyrings/freeswitch-archive-keyring.gpg Įcho "deb `lsb_release -sc` main" > /etc/apt//freeswitch.listĮcho "deb-src `lsb_release -sc` main" > /etc/apt//freeswitch.list Now we can execute official steps to install Freeswitch:Īpt-get update & apt-get install -y gnupg2 wget lsb-release

You will need to upgrade the system with the latest packets:Īpt-get update & apt-get -y dist-upgradeīased on your system and internet speed, this can take up to several minutes.Īfter the new packets are installed, reboot the system and relogin: This means that the system clock is off-sync and that you skipped this step. Updates for this repository will not be applied. debian/dists/buster/InRelease is not valid yet (invalid for another 19h 54min 54s). You may get a similar error when installing: Now, let’s install the service that automatically syncs the system clock to prevent installation problems: Sed -i "s|PermitRootLogin without-password\+|PermitRootLogin yes|g" /etc/ssh/sshd_config Root loginĪfter Debian 11 installation, it is impossible to login with the root from outside. The official instructions are barebone, so this guide is a supplement covering the most important steps to finish with a working system. A short, step-by-step guide for proper installation of Freeswitch on Debian 11 (bullseye)
