Difference between revisions of "Compiling FreeSwitch"

From OnnoWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
==Install==
 
==Install==
 +
 +
sudo su
  
 
  sudo apt-get install git-core build-essential autoconf automake libtool libncurses5 \
 
  sudo apt-get install git-core build-essential autoconf automake libtool libncurses5 \

Revision as of 07:56, 1 January 2014

Sumber: http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide

Install

sudo su
sudo apt-get install git-core build-essential autoconf automake libtool libncurses5 \
libncurses5-dev make libjpeg-dev pkg-config unixodbc unixodbc-dev zlib1g-dev
sudo apt-get install libcurl4-openssl-dev libexpat1-dev libssl-dev libtiff4-dev libx11-dev unixodbc-dev \
python-dev zlib1g-dev libzrtpcpp-dev libasound2-dev libogg-dev libvorbis-dev libperl-dev \
libgdbm-dev libdb-dev python-dev uuid-dev bison autoconf g++ libncurses-dev

Download source code

sudo su
cd /usr/local/src
git clone git://git.freeswitch.org/freeswitch.git
cd freeswitch
./bootstrap.sh

Compile

./configure
make

Install

make all install cd-sounds-install cd-moh-install

Start FreeSWITCH

/usr/local/freeswitch/bin/freeswitch

Testing

Configure a SIP phone or softphone with the IP address of the FreeSWITCH™ computer and user "1000" and password "1234". The default FreeSWITCH™ configuration provides pre-defined definitions for extensions 1000-1019, all passwords are 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

Referensi

Pranala Menarik