Table of Contents

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

Execution Option 1: Your own Database