Howto install FreeSwitch on Centos 6.5 Redhat Fedora

Howto install FreeSwitch on Centos 6.5 Redhat Fedora

freeswtich

Step 1: Install all dependency packages for Freeswitch

yum install gcc gcc-c++ make automake autoconf libtool libtermcap-devel ncurses-devel

yum 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

yum install git

yum install libjpeg*

yum install sqlite*

yum install pcre pcre-devel

yum install speex speexdsp

yum install speex*

yum install libedit*

Step 2: Download Freeswitch package and Install

cd /usr/local/src

git clone git://git.freeswitch.org/freeswitch.git

cd freeswitch

./bootstrap.sh

./configure

#####################################################

Registering you for ClueCon http://www.cluecon.com .. See you in August. ;-)
————————– FreeSWITCH configuration ————————–

Locations:
FHS enabled: no

prefix: /usr/local/freeswitch
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
sysconfdir: /usr/local/freeswitch/conf
libdir: ${exec_prefix}/lib

certsdir: /usr/local/freeswitch/certs
dbdir: /usr/local/freeswitch/db
grammardir: /usr/local/freeswitch/grammar
htdocsdir: /usr/local/freeswitch/htdocs
logfiledir: /usr/local/freeswitch/log
modulesdir: /usr/local/freeswitch/mod
pkgconfigdir: ${exec_prefix}/lib/pkgconfig
recordingsdir: /usr/local/freeswitch/recordings
runtimedir: /usr/local/freeswitch/run
scriptdir: /usr/local/freeswitch/scripts
soundsdir: /usr/local/freeswitch/sounds
storagedir: /usr/local/freeswitch/storage

——————————————————————————

#####################################################

make

make install

make cd-sounds-install

make cd-moh-install

 

Step 3: Start Freeswitch 

/usr/local/freeswitch/bin/freeswitch

 

Thanks for using IThelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>