freeswitch on CentOS 5.9

      No Comments on freeswitch on CentOS 5.9
** add EPEL Repository
[[email protected] /]# wget
[[email protected] /]# rpm -ivh epel-release-5-4.noarch.rpm

** freeswitch prerequisites
[[email protected] /]# yum -y install git autoconf automake libtool ncurses-devel libjpeg-devel
[[email protected] /]# yum -y install expat-devel openssl-devel libtiff-devel libX11-devel unixODBC-devel libssl-devel python-devel zlib-devel libzrtpcpp-devel alsa-lib-devel libogg-devel libvorbis-devel perl-libs gdbm-devel libdb-devel uuid-devel @development-tools

[[email protected] /]# cd /usr/local/src
[[email protected] src]# git clone git://
[[email protected] src]# cd freeswitch

[[email protected] freeswitch]# ./configure -prefix=/opt/freeswitch
[[email protected] freeswitch]# make
[[email protected] freeswitch]# make all install cd-sounds-install cd-moh-install

**create init script
[[email protected] freeswitch]# adduser freeswitch -g daemon -d /opt/freeswitch
[[email protected] freeswitch]# chown -R freeswitch:daemon /opt/freeswitch/
[[email protected] freeswitch]# chmod -R o-rwx /opt/freeswitch/
[[email protected] freeswitch]# cp /usr/local/src/freeswitch/build/freeswitch.init.redhat /etc/init.d/freeswitch
[[email protected] freeswitch]# chmod +x /etc/init.d/freeswitch
[[email protected] freeswitch]# chkconfig --level 345 freeswitch on
[[email protected] freeswitch]# vi /etc/init.d/freeswitch

** running freeswitch
[[email protected] /]# service freeswitch start
[[email protected] /]#

Freeswitch init Script sample

Source :

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.