User Tools

Site Tools


user:jpettie:portfolio:random0

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:

  1. USER@SERVER:# cd /usr/local/src/

  2. USER@SERVER:/usr/local/src# sudo su

  3. root@SERVER:/usr/local/src# apt-get update

  4. root@SERVER:/usr/local/src# apt-get upgrade

  5. root@SERVER:/usr/local/src# apt-get dist-upgrade

  6. 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

  7. root@SERVER:/usr/local/src# update-alternatives --set awk /usr/bin/gawk

  8. root@SERVER:/usr/local/src# git clone git://git.freeswitch.org/freeswitch.git

  9. root@SERVER:/usr/local/src# cd freeswitch

  10. root@SERVER:/usr/local/src/freeswitch# ./bootstrap.sh 2>&1 | tee build.log

  11. root@SERVER:/usr/local/src/freeswitch# ./configure -C --enable-zrtp 2>&1 | tee -a build.log

  12. root@SERVER:/usr/local/src/freeswitch# make 2>&1 | tee -a build.log

  13. root@SERVER:/usr/local/src/freeswitch# make install 2>&1 | tee -a build.log

  14. root@SERVER:/usr/local/src/freeswitch# make all install cd-sounds-install cd-moh-install

  15. 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

user/jpettie/portfolio/random0.txt · Last modified: 2012/05/04 12:32 by jpettie