Menggunakan SIPp Mengevaluasi Asterisk Softswitch

From OnnoWiki
Revision as of 15:44, 10 May 2010 by Onnowpurbo (talk | contribs) (→‎Pranala Menarik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Masukan perintah berikut ke extensions.conf

[sipp]
exten => 1234,1,Answer
exten => 1234,2,SetMusicOnHold(default)
exten => 1234,3,WaitMusicOnHold(20)
exten => 1234,4,Hangup
exten => 1235,1,Answer
exten => 1235,2,Goto(MENUCONTEXTORSIMILARCONTEXT,s,1)
exten => 1235,3,Hangup


Masukan perintah berikut ke file sip.conf

[sipp]
type=friend
context=sipp
host=dynamic
port=6000
user=sipp
canreinvite=no
disallow=all
allow=ulaw

Reload Asterisk

# /etc/init.d/asterisk stop
# /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvgc

Jalan perintah sipp berikut

# ./sipp -sn uac -d 20000 -s 1234 <ip-address-asterisk> -l 30

Perintah di atas akan menyambungkan diri sebagai Asterisk client ke server <ip-address-asterisk>, akan memberikan durasi call selama 20K milidetik (20 detik) ke extension 1234 dengan 30 call sekaligus.

Jika anda ingin melakukan test call per second & melakukan hal sederhana, dapat juga menggunakan perintah berikut

# ./sipp -sn uac -d 10000 -s 1235 <ip-address-asterisk> -l 10 -mp 5606



Pranala Menarik