======Random: Freeswitch====== A random for me by Jacob Pettie during the Spring 2012 Semester. =====Objectives===== To have a working guide to installing Freeswitch for a phone server setup. =====Execution Steps===== Steps to installing and running Freeswitch: - USER@SERVER:# cd /usr/local/src/ - USER@SERVER:/usr/local/src# sudo su - root@SERVER:/usr/local/src# apt-get update - root@SERVER:/usr/local/src# apt-get upgrade - root@SERVER:/usr/local/src# apt-get dist-upgrade - root@SERVER:/usr/local/src# apt-get install git-core build-essential autoconf automake libtool libncurses5 libncurses5-dev gawk libjpeg-dev zlib1g-dev pkg-config libssl-dev - root@SERVER:/usr/local/src# update-alternatives --set awk /usr/bin/gawk - root@SERVER:/usr/local/src# git clone git://git.freeswitch.org/freeswitch.git - root@SERVER:/usr/local/src# cd freeswitch - root@SERVER:/usr/local/src/freeswitch# ./bootstrap.sh 2>&1 | tee build.log - root@SERVER:/usr/local/src/freeswitch# ./configure -C --enable-zrtp 2>&1 | tee -a build.log - root@SERVER:/usr/local/src/freeswitch# make 2>&1 | tee -a build.log - root@SERVER:/usr/local/src/freeswitch# make install 2>&1 | tee -a build.log - root@SERVER:/usr/local/src/freeswitch# make all install cd-sounds-install cd-moh-install - root@SERVER:/usr/local/src/freeswitch# ./freeswitch * Test with: * Configure a SIP phone with the IP address of the Freeswitch computer with the user "1000" and password "1234". * Dial 9664 to hear music * Dial 5000 to test the sample IVR * Configure a second SIP phone as user 1001, dial 1001 from 1000, and 1000 from 1001 to test between phones =====Execution Option 1: Your own Database===== - Edit with: http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core (For Wiki Owner)