Compiling FreeSwitch: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
No edit summary
Line 1: Line 1:
Download [[source code]] FreeSWITCH dari ('''WARNING: File [[source code]] sangat besar sekitar 75Mbyte''')
Sumber: http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide


* http://files.freeswitch.org/freeswitch-1.0.5pre9.tar.gz
==Install==
* http://files.freeswitch.org


sudo apt-get install git-core build-essential autoconf automake libtool libncurses5 \
libncurses5-dev make libjpeg-dev pkg-config unixodbc unixodbc-dev zlib1g-dev


Siapkan dependencies dan aplikasi pendukung
sudo apt-get install libcurl4-openssl-dev libexpat1-dev libssl-dev libtiff4-dev libx11-dev unixodbc-dev \
python2.6-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


apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 g++ libssl-dev libxml2-dev
==Download source code==


Untuk mengcompile lakukan
cd /usr/local/src
git clone git://git.freeswitch.org/freeswitch.git
cd freeswitch
./bootstrap.sh


cp freeswitch-1.0.5pre9.tar.gz /usr/local/src/
==Compile==
cd /usr/local/src
 
tar zxvf freeswitch-1.0.5pre9.tar.gz
  ./configure
cd freeswitch-1.0.5pre9
  ./configure  
  make
  make
make install


==Install==
make all install cd-sounds-install cd-moh-install
==Start FreeSWITCH==


==Install Pendukung==
/usr/local/freeswitch/bin/freeswitch


==Testing==


===Instalasi Sample Konfigurasi===
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.


make samples
* 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


===Instalasi Sound===


Hati-hati ini akan mendownload dari [[Internet]]


make cd-sounds-install
make cd-moh-install
make uhd-sounds-install
make uhd-moh-install
make hd-sounds-install
make hd-moh-install
make sounds-install
make moh-install


==Pranala Menarik==
==Pranala Menarik==

Revision as of 23:00, 31 December 2013

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

Install

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

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



Pranala Menarik