STRESS TEST ON ASTERISK


sip.conf

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

[6666]
context=stresstool
type=friend
callerid=”6666″ <6666>
username=6666
secret=6666
host=dynamic ; This device needs to register
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw

extension.conf

[stresstool]
exten => 3000,1,NoOp(STRESS TOOL ASTERISK)
exten => 3000,2,Set(GROUP()=counter)
exten => 3000,3,NoOp(TOTAL COUNTER = ${GROUP_COUNT(${counter})})
exten => 3000,4,Playback(vm-record-prepend)
exten => 3000,5,SetMusicOnHold(default)
exten => 3000,6,WaitMusicOnHold(30)
exten => 3000,7,Hangup()

[sipp]
exten => 2500,1,Goto(stresstool,3000,1)

extension 6666 di daftarkan sebagai nomor extension xlite yang akan digunakan untuk melakukan call ke 3000 pada saat script ini dijalankan sipp -sn uac -d 60000 -s 2500 192.168.0.187 -l 60 -mp 5606 -trace_err.

-d 60000 = 60 detik = 1menit

-l 60 jumlah call

-mp 5606 = codec ulaw

==================================================================================

http://sourceforge.net/projects/sipp/files/sipp/3.2/sipp.svn.tar.gz/download

tar sipp.svn.tar.gz -C /usr/src/

cd /usr/src/

make

cp sipp /usr/bin

Advertisements

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

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: