Get in Touch

FreeSwitch Overview

The Future Prospect of Telephony

Freeswitch is an open- standards VoIP telecom platform. It can be utilized as a softclient, PBX or even as carrier-class softswitch. Its simple process of installation and configuration has created it an extremely attractive PBX solution these days. It has a modular structure which implies that new features can be effortlessly incorporated into the system as supplementary modules. In the meantime undesirable modules can be incapacitated. We had attempted to replace our customer’s communication way. After tossing up in the middle of Asterisk and Freeswitch and we chose to go with Freeswitch primarily for its constancy, performance and execution over Asterisk. We are using Centos 6 to run Freeswitch.

Installation Manual of Freeswitch:

Following are the needed steps to get it up and running.

1.) Pre-requisites: We require using git to drag Freeswitch from the git repo. To install git we require the EPEL repository installed:

    1. [root@voip ~]# rpm -Uvh
    2. [root@voip ~]# yum install git

2.) Install the required packages:

    1. [root@voip src]# yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool make ncurses-devel unixODBC-devel openssl-devel gnutls-devel libogg-devel libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel expat-devel zlib zlib-devel bzip2 which

3.) Change directory and drag the source from the git repo :

    1. [root@voip src]# cd /usr/local/src
    2. [root@voip src]# git clone git://

4.) Change into the recently downloaded source code directory:

    1. [root@voip src]# cd freeswitch/

5.) Run the bootstrap and configure scripts to create the required modules.conf and get the code ready for compiling

    1. [root@voip freeswitch]# ./
    2. [root@voip freeswitch]# ./configure –without-libcurl –without-pgsql

6.) Edit the modules.conf file. Remove the # in front of any modules you want to compile:

    1. [root@voip freeswitch]# vim modules.conf

7.) Make and Install Freeswitch

    1. [root@voip freeswitch]# make && make install

8.) Install the default sounds

    1. [root@voip freeswitch]# make uhd-sounds-install && make uhd-moh-install

9.) Copy the init script and set the correct permissions

    1. [root@voip freeswitch]# cp build/freeswitch.init.redhat /etc/init.d/freeswitch
    2. [root@voip init.d]# chmod 755 /etc/init.d/freeswitch

10.) Configure Freeswitch to start on boot

    1. [root@voip freeswitch]# chkconfig –add freeswitch
    2. [root@voip freeswitch]# chkconfig freeswitch on

11.) You require modifying the default init script. It points to Freeswitch being installed in /opt/freeswitch/ however we installed it in /usr/local/freeswitch/ You require changing the lines:

    1. FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch}
    2. FS_HOME=${FS_HOME-/opt/freeswitch}
    3. To
    4. FS_FILE=${FS_FILE-/usr/local/freeswitch/bin/freeswitch}
    5. FS_HOME=${FS_HOME-/usr/local/freeswitch}

12.) Next we require to change the freeswitch directory permissions as we will be running it under the freeswitch account

    1. [root@voip local]# cd /usr/local
    2. [root@voip local]# chown -R freeswitch freeswitch
    3. [root@voip local]# chgrp -R freeswitch freeswitch

13.) For performance reasons, it is recommended to change the kernel boot parameters to disable the tick-less feature. To do this you require to add nohz=off to the end of your boot parameters in your grub.conf.

    1. [root@voip freeswitch]# vim /boot/grub/grub.conf

Add to the end of the line starting with kernel to add nohz=off at the end. Mine becomes

    1. kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/vg_voip-lv_root rd_LVM_LV=vg_voip/lv_root rd_LVM_LV=vg_voip/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet nohz=off

14.) Restart for the kernel parameters to take effect.

Related Post


The Future Prospect of Telephony Freeswitch is an open- standards VoIP telecom platform. It can be…

Read More


Opensips is one of the best solution that are present in opensource, it provide you ITSP…

Read More


Kamailio (successor of OpenSER and SER) is an Open Source SIP Server released under GPL, able…

Read More


Asterisk is one of the best telephony solutions which is free to use. There are others…

Read More

IVR Setting

Interactive Voice Response (IVR) allows your organizations to interact with customers through voice and DTMF tones…

Read More

Open Source

Elastix Elastix is appliance server software that integrates the most effective tools available for Asterisk-based PBXs…

Read More


Currently we are doing replication between two servers i.e. VPN3 and VPN4. Our project needed persistent…

Read More


Apache HTTP Server is an open-source HTTP server to develop and maintain modern operating systems including…

Read More


Subversion is a open-source version control tool. It is open-source and distributed as free software over…

Read More

Copyright © 2016 GVenture Technology Pvt. Ltd., All Rights Reserved.