INSTALASI ASTERISK (I)

5 Aug

INSTALASI ASTERISK (I)
1. Pengertian dasar PABX
– bila yang FXS maka harus dihubungkan dengan bagian CO PBX,
– kalau yang FXO harus bagian extension PBX
– port FXS untuk telepon handset (sama dengan CO PBX)
– port FXO untuk line telkom/pstn (sama dengan extension PBX)

2. setup
# cp asterisk-1.2.10.tar.gz /usr/local/src
# cp asterisk-sounds-1.2.1.tar.gz /usr/local/src
# cd /usr/local/src
# tar -zxf asterisk-sounds-1.2.1.tar.gz
# tar -zxf asterisk-1.2.10.tar.gz

# cd /usr/local/src/asterisk-1.2.10
# make
# make install
# make samples
# make progdocs

# cd /usr/local/src/asterisk-sounds-1.2.1
# make install
3. Konfigurasi
– Karena kita akan menggunakan protokol SIP, maka sip.conf perlu kita atur. Bentuk konfigurasi sederhana sip.conf.
# vi /etc/asterisk/sip.conf

[005402seag]
type=friend
host=dynamic
defaultip=172.20.240.59
musiconhold=default
context=voipubs
canreinvite=no
username=005402seag
secret=005402seag
callerid= “005402seag”
nat=no
dtmfmode=rfc2833

[008191faro]
type=friend
host=dynamic
defaultip=172.20.240.59
musiconhold=default
context=voipubs
canreinvite=no
username=008191faro
secret=008191faro
callerid= “008191faro”
nat=no
dtmfmode=rfc2833

– Untuk meng-assign nomor voip ke tiap-tiap user digunakan file extensions.conf, berikut contoh file sederhana.
# vi /etc/asterisk/extensions.conf
[voipubs]
exten =>005402,1,Dial(SIP/005402seag)
exten =>008191,1,Dial(SIP/008191faro)

4. Menjalankan asterisk
# asterisk

5. Mematikan asterisk
# killall asterisk

6. Monitor asterisk
# asterisk -vvvvr

1. Instalasi Asterisk

2. Asterisk & Softphone X-Lite

3. Asterisk & MP3

4. Asterisk & SPA-3102

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: