Pre Conditions:
Before installing FreeSwitch you must run these commands.
Code Block |
---|
#sudo apt update #sudo apt install -y gnupg2 wget lsb-release [Optional] #sudo apt upgrade |
Make sure that the [deb cdrom: ...] is commentd commented out in the source.list file in /etc/apt directory.
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. Below are the dependencies for Debain Bookworm. If you have a different version please add accordingly. Make Make sure to run the update command again.
Code Block |
---|
#deb http://deb.debian.org/debian/ bookworm main #deb-src http://deb.debian.org/debian/ bookworm main #deb http://deb.debian.org/debian/ bookworm-updates main #deb-src http://deb.debian.org/debian/ bookworm-updates main |
...
Go into super user mode to get rid of permission issues.
Code Block |
---|
#su |
For the latest version of debain Debian such as Book worm we need to follow the following steps as well.
Before we install the freeswitch we need to clone the Sofia-sip and SpandDSP in /usr/src directory. In case git is not installed please install the git by running the 'apt install git' command.
...
Now add all these dependencies. Some of these dependencies may not be available in the future or some the latest version would versions will be available. Please exclude it from the command and add the latest one.
...
Code Block |
---|
./bootstrap.sh ./configure make install |
Go to the signal wire website and login and then make a token for the installation of freeswitch. If you already have a token please proceed.
...
Restart the Freeswitch and configure it.
In case of any problem a , complete documentation can be found here for the installation of freeswitch.
...