Test Performance Asterisk Menggunakan SIPp

From OnnoWiki
Jump to navigation Jump to search

Pada extensions.conf di SERVER

context testing {
       1 => {
               Answer();
               //modify for your setup.. make it play something, join a queue, whatever. I found that joining a queue works best, queue_helpdesk is my helpdesk macro :)
               //Background(6604);
               //Wait(2);
               //&queue_helpdesk(0);
               Hangup();
       };
};


Pada sip.conf di SERVER

[asterisk02]
type=friend
context=testing
host=192.168.0.3 # ip CLIENT
user=sipp
canreinvite=no
disallow=all
allow=ulaw 


Gunakan perintah dari client

# sipp -sn uac 192.168.0.2 -s 1 -d 100000 -l 256


Pranala Menarik