Software installation

As operating system we have chosen Debian Jessie, since all the software components we use provide packaging for it.


CGRateS can be installed using the instructions found here.


More information regarding the installation of FreeSWITCH on Debian can be found on it’s official installation wiki.

Firstly, in order to install FreeSWITCH, the authentication is required by creating a SignalWire Personal Access Token. Before instalation, it’s needed to generate the personal token and this cand be found on SignalWire official wiki in creating a personal token.

To get FreeSWITCH installed and configured, we have choosen the simplest method, out of vanilla packages, plus one individual module we need: mod-json-cdr.

We will install FreeSWITCH via following commands:

TOKEN=YOURSIGNALWIRETOKEN # here insert your SignalWire Personal Acces Token wget –http-user=signalwire –http-password=$TOKEN -O /usr/share/keyrings/signalwire-freeswitch-repo.gpg echo “machine 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] lsb_release -sc main” > /etc/apt/sources.list.d/freeswitch.list echo “deb-src [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] lsb_release -sc main” >> /etc/apt/sources.list.d/freeswitch.list # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed apt-get update && apt-get install -y freeswitch-meta-allapt-get update && apt-get install -y freeswitch-meta-all

Once installed, we will proceed with loading the configuration out of specific tutorial cases bellow.