jump to navigation

Using SIPP for stress testing Asterisk March 12, 2009

Posted by hasnain110 in Asterisk.
trackback

Step1:

Download SIPP from http://sipp.sourceforge.net/ and install the rpm

Step 2:

Adding Following in /etc/asterisk/extensions.conf

[sipp]
exten => 2005,1,Answer
exten => 2005,2,SetMusicOnHold(default)
exten => 2005,3,WaitMusicOnHold(20)
exten => 2005,4,Hangup

Step 3:

Create this in your /etc/asterisk/sip.conf

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

Step4:

Reload Asterisk (in debug mode)

asterisk -rvvvv

then type reload in console to make new changes effective

Step 5:

sipp -sn uac -d 20000 -s 2005 IP.OF.YOUR.BOX -l 30

This command will connect as a client, and give the duration of the call 20K miliseconds (or 20 seconds), will dial the server at ip IP.OF.YOUR.BOX, and try to reach the extension 2005, with a limit of 30 simultaneous calls

Advertisements

Comments»

1. yako - April 14, 2012

wireshark graph and explaination

2. Arlindo - June 28, 2012

Thanks a lot! Realy worth. Sipp client running in an Virtual machine e calls to external IP PABX. I could not fix working in Windows client or through Cygwin.

3. family pictures - January 12, 2014

Hello, і think that і saw you visited my blog thus i сame to “return thе favor”.I am attempting to find
thingѕ tо enhance mу web site!I suppose itts оk tto usee а feω of your ideas!!

4. loans for business - September 12, 2014

It’s nearly impossible to find educated people on this topic, but you sound like you know what you’re talking about!
Thanks


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: