freeswitch on CentOS 5.9
** add EPEL Repository [root@VOIP01 /]# wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm [root@VOIP01 /]# rpm -ivh epel-release-5-4.noarch.rpm ** freeswitch prerequisites [root@VOIP01 /]# yum -y install git autoconf automake libtool ncurses-devel libjpeg-devel [root@VOIP01 /]# 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 [root@VOIP01 /]# cd /usr/local/src [root@VOIP01 src]# git clone git://git.freeswitch.org/freeswitch.git [root@VOIP01 src]# cd freeswitch [root@VOIP01 freeswitch]# ./configure -prefix=/opt/freeswitch [root@VOIP01 freeswitch]# make [root@VOIP01 freeswitch]# make all install cd-sounds-install cd-moh-install **create init script [root@VOIP01 freeswitch]# adduser freeswitch -g daemon -d /opt/freeswitch [root@VOIP01 freeswitch]# chown -R freeswitch:daemon /opt/freeswitch/ [root@VOIP01 freeswitch]# chmod -R o-rwx /opt/freeswitch/ [root@VOIP01 freeswitch]# cp /usr/local/src/freeswitch/build/freeswitch.init.redhat /etc/init.d/freeswitch [root@VOIP01 freeswitch]# chmod +x /etc/init.d/freeswitch [root@VOIP01 freeswitch]# chkconfig --level 345 freeswitch on [root@VOIP01 freeswitch]# vi /etc/init.d/freeswitch ** running freeswitch [root@VOIP01 /]# service freeswitch start [root@VOIP01 /]#
Source :
http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide
http://wiki.freeswitch.org/wiki/Freeswitch_init