You are on page 1of 2

Install Freeswitch/2600hz on Ubuntu 10

Freesitch setup:
user: freeswitch
group: freeswitch
----------------------------------------- Pre Reqs ---------------------------
locate sources.list
nano /etc/apt/sources.list
deb http://ppa.launchpad.net/freeswitch-drivers/freeswitch-nightly-drivers/ubuntu jaunty main
deb-src http://ppa.launchpad.net/freeswitch-drivers/freeswitch-nightly-drivers/ubuntu jaunty main
apt-get update
apt-cache search freeswitch
apt-get install git
apt-get install autoconf
apt-get install freeswitch-dev
apt-get install libtool
apt-get install ncurses-dev
apt-get install build-essential
apt-get install libjpeg-dev
apt-get install curl libcurl3 libcurl3-dev php5-curl
apt-get install libmyodbc
apt-get install unixodbc-dev
sudo /etc/init.d/apache2 restart
---------------------------- Install ------------------------------------------
cd /usr/local/src
git clone git://git.freeswitch.org/freeswitch.git
cd freeswitch
./bootstrap.sh
./configure --enable-core-odbc-support
now edit this file and uncomment flite so ivrs will wor.
nano /usr/local/src/freeswitch/modules.conf
!emove the " infornt of the line to active that module
asr#tts/mod#flite
mod#directory
mod#callcenter
mod#spy
--mae binaiers-------
mae $$ mae install
mae all cd-sounds-install cd-moh-install
%et permission:
add freeswitch to group admin
adduser freeswitch admin
chown -! www-data:admin /usr/local/freeswitch/
%tart &ree %witch:
/usr/local/freeswitch/bin/freeswitch
'reate (atabase %tuff
mys)l -uroot -p*he+assword
'!,-*, (-*-.-%, bluebox/
use this for local host connections only.
'!,-*, 0%,! 1freeswitch1213.31 4(,5*4&4,( .6 1yourpass1/
7!-5* all on 8.8 *9 1freeswitch1213.31/
use this if you don1t plan on connecting to the database externally
'!,-*, 0%,! 1freeswitch121localhost1 4(,5*4&4,( .6 1yourpass1/
7!-5* all on 8.8 *9 1freeswitch121localhost1/
I use this Database for mod_callcenter
'!,-*, (-*-.-%, bluecall/
'!,-*, 0%,! 1freeccall1213.31 4(,5*4&4,( .6 1yourpass1/
7!-5* all on 8.8 *9 1freeccall1213.31/
exit/
Install blue box web interface:
cd /var/www
git clone git://source.2:;;h<.org/bluebox.git bluebox/
chown www-data:www-data /var/www -!
chmod ;==> -! /var/www
chown www-data:www-data /usr/local/freeswitch/conf -!
chmod ;==> -! /usr/local/freeswitch/conf/
nano /etc/apache2/sites-enabled/;;;-default
?append bluebox to anything with /var/www so mae /var/www @ /var/www/bluebox A
sudo /etc/init.d/apache2 restart
Setup Blue Box:
goto http://srerverip/
a!in" Freeswitch Boot on start up
nano /etc/default/freeswitch
change the file:
&!,,%B4*'C#,5-.D,(@EfalseE
to
&!,,%B4*'C#,5-.D,(@EtrueE
save file
but#####
$ou mi"ht "et error in run time doin" it this wa$#
4 ept getting 4nvalid %4+ profile in ,%D
%dd
screen -dm% /usr/local/freeswitch/bin/freeswitch
to your /etc/rc.local

You might also like