Login: root
Password:
123
MENGGABUNGKAN REPOSITORY DEBIAN
Ahmad
:~# apt-cdrom add (input cd-1, cd-2 dan cd-3) Ã enter
Ahmad
:~# nano /etc/apt/sources.list
KONFIGURASI IP ADDRESS
Ahmad :~# nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
[simpan ctrl+x --> y [yes] -enter
Ahmad
:~# service networking restart
Ahmad :~# ifconfig -a
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
Ahmad :~# ifconfig -a
INSTAL APLIKASI ASTERISK
Ahmad
:~# apt-get install asterisk
[n] / [y]
(input DVD-1,dan DVD-2) Ã enter
(input DVD-1,dan DVD-2) Ã enter
KONFIGRASI IP TELPHONE
context=tkj -->> nama context user
port=5060 -->> default port untuk SIP
binaddr=0.0.0.0 -->> listen semua ip_addr yg request
srvlookup=yes
tos=0x18
videosupport=yes
[111] (user/extension)
type=friend (tipe account)
username=111 (login account)
secret=111 (password account)
host=dynamic (host yang menjadi IP PBX,dapat berubah)
nat=no (tanpa NAT)
dtmfmode=rfc2833 (RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals)
allow=all (mode codec, bisa semua jenis codec)
callerid=”sip00” (id client)
context=tkj (context jaringan user)
canreinvite=no (mekanisme canreinvite)
mailbox=111@tkj (username@contex)
[222]
type=friend
username=222
secret=222
host=dynamic
nat=no
dtmfmode=rfc2833
allow=all
callerid=”sip01”
context=tkj
canreinvite=no
mailbox=222@tkj
exten => 111,2,Hangup à setelah timeout 20 detik dilakukan hangup
exten => 222,1,Dial(SIP/222,20)
exten => 222,2,Hangup
Ahmad :~# service asterisk restart
BUKA APLIKASI
=> Zoiper
=> X-Lite
=> Setting zoiper => Setting X-Lite
=> Menjadi client / server
=> Menjadi client / server
KONFIGURASI ROUTER DEBIAN
Ahmad :~# nano /etc/sysctl.conf
Hapus tanda # didepan pada kata " #net.ipv4.ip_forward=1"
menjadi ( net.ipv4.ip_forward=1 )
[simpan ctrl+x --> y [yes] -enter
Ahmad :~# sysctl -p
Ahmad :~# nano /etc/rc.local
#exit
iptables -t nat -A POSTROUTING -j MASQUERADE
[simpan ctrl+x --> y [yes] -enter
Ahmad :~# service rc.local restar
Ahmad :~# service rc.local start
Seting PC Client
==> Pc Clien Ke Pc Server
==> dan Ping server ke Pc Client
==> Pastikan Koneksi server clinet lancar
0 Komentar