Asterisk 1.4.x dkk (part 1: instalasi)

Berikut adalah 7 langkah menyiapkan Ubuntu Server 7.04 anda untuk menjadi server VoIP berbasis Asterisk 1.4.x beserta kawan2nya 🙂

Step 1. Get latest updates and upgrade your server
sudo apt-get update
sudo apt-get upgrade

Step 2. Get the latest linux headers, this is necessary to compile zaptel
sudo apt-get install linux-headers-`uname -r`

Step 3. Get compiler and needed libraries
sudo apt-get install gcc g++ cpp
sudo apt-get install make automake autoconf m4 binutils libtool bison flex
sudo apt-get install zlib1g-dev libnewt-dev libncurses5-dev
sudo apt-get install libmysqlclient15-dev

Step 4. Always install libpri first
tar -zxf libpri-1.4.1.tar.gz
cd libpri-1.4.1/
make
sudo make install

Step 5. Followed by compiling zaptel
tar -zxf zaptel-1.4.6.tar.gz
cd zaptel-1.4.6/
./configure
make menuconfig

note on make menuconfig:
select all options on ‘Utilities’
press x to save selections

make
sudo make install
sudo make config
sudo vi /etc/default/zaptel

note on editing /etc/default/zaptel:
if you dont have zaptel-based card you must remove the # from this line:
#MODULES=”$MODULES ztdummy”

Step 6. Done with libpri and zaptel, next the asterisk it self
tar -zxf asterisk-1.4.14.tar.gz
cd asterisk-1.4.14/
./configure
make menuconfig

note on make menuconfig:
remove chan_mgcp, chan_phone, chan_oss, chan_skinny from ‘Channel Drivers’
remove codec_adpcm, codec_a_mu, codec_g726, codec_lpc10 from ‘Codec Translators’
press x to save selections

make
sudo make install
sudo make samples

Step 7. The last step would be compiling asterisk-addons
tar -zxf asterisk-addons-1.4.4.tar.gz
cd asterisk-addons-1.4.4/
./configure
make menuconfig

note on make menuconfig:
remove chan_ooh323 from ‘Asterisk Addon Modules’
make sure the rest is selected

sudo make install
sudo make samples

Lain waktu disambung dengan tulisan singkat selanjutnya, yaitu melakukan konfigurasi pada asterisk.

cheers,
anton

2 thoughts on “Asterisk 1.4.x dkk (part 1: instalasi)

Comments are closed.