Skip to main content
Skip table of contents

FreeSWITCH installation

Pre Conditions:

Before installing FreeSwitch you must do these.

  • Git 
  • Libtool
  • SpanDSP

Installing Git:


  • sudo apt update
  • sudo apt install git
  • git --version

Installing Libtool:

Use This command to install Libtool: apt-get install libtool

Installing SpanDSP:

What is SpanDSP?

SpanDSP (Digital Signal Processing) is a low-level signal processing library that modulates and demodulates signals commonly used in telephony, such as the "noise" generated by a fax modem or DTMF (Dual-tone multi-frequency) touchpad.

Using that link I have to install SpanDSP.

  1. git clone
  2. cd spandsp
  3. ./
  4. ./configure
  5. make -j
  6. make install

Installing FreeSwitch:

First go in superuser by (su)

Freeswitch Token = pat_8Errev5k19bRCnmsGdJSxGEs

Follow the below commands for FreeSWITCH installation

  1. apt-get update && apt-get install -yq gnupg2 wget lsb-release
  2. wget -O - | apt-key add -
  3. echo "deb `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
  4. echo "deb-src `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
  5. apt-get update
  6. apt-get build-dep freeswitch
  7. cd /usr/src/
  8. git clone -bv1.10 FreeSWITCH
  9. cd freeswitch
  10. git config pull rebase true
  11.      ./ -j
  12. ./configure
  13. make
  14. make install
  15. systemctl start freeswitch
  16. systemctl enable freeswitch
  17. Run the below command to open freeSWITCH cli to see installation is successful

    /usr/local/freeswitch/bin/fs_cli -r

  18. If the CLI doesn't work, run the below commands and then run the above command.
    m /var/run/freeswitch/
    /usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch

Complete documentation can be found here

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.