Hello experts,
I’m trying to stress test Asterisk v11.18.0 using SIPp v3.3.
The issue is that Asterisk receives the mass call requests from SIPp running as a UAC, and immediately answers those SIP calls as per the standard SIP call flow without actually sending any messages to the UAS. As below:
–> INVITE
<-- 100 Trying
<-- 200 OK
–> ACK
–> BYE
<-- 200 OK
What I want is to see
- My sip.conf has extensions 8001 and 8002 configured.
[8001]
type=friend
defaultuser=8001
host=dynamic
secret=
context=phones
nat=force_rport
allow=gsm
allow=ulaw
allow=alaw
[8002]
type=friend
defaultuser=8002
host=dynamic
secret=
context=phones
nat=force_rport
allow=gsm
allow=ulaw
allow=alaw
- My extensions.conf has a standard simple call flow configured.
exten => 8001,1,Dial(SIP/8001,20)
exten => 8001,2,Ringing()
exten => 8001,3,Answer()
exten => 8001,4,Hangup()
exten => 8002,1,Dial(SIP/8002,20)
exten => 8002,2,Ringing()
exten => 8002,3,Answer()
exten => 8002,4,Hangup()
- I’m running SIPp UAC as:
sipp -sn uac -r 1 -m 5 -l 5 -s 8001 -ap
1 call per second, 5 calls.
If I run the SIPp as a UAS as below, it doesn’t change anything at all. And Asterisk is still replying the UAC call flow by itself.
sipp -sn uas -s 8001 -ap
Please help me understand why this is happening ?
Is SIPp actually capable of acting as a UAS to simulate a full end-to-end SIP call flow !
Please help
Thanks alot