Hi all,
I'm a student. My group is testing IP PBX based on Asterisk for conformity 
to SIP RFC's. We wrote a bash script that uses SIPp 3.1, but we have one 
problem. The PBX is sending OPTIONS requests with Call-ID different than in 
other messages in our scenarios and it causes SIPp to abort scenario. For 
example - the flow graph should be:

SIPp UA                                        PBX
=============================
REGISTER ----------------------------->
<-------------------------------100 Trying
<------------------------401 Unauthorized
REGISTER ----------------------------->
<-------------------------------100 Trying
<----------------------------------200 OK

and is:

SIPp UA                                        PBX
=============================
REGISTER ----------------------------->
<-------------------------------100 Trying
<-------------------------------OPTIONS !!!!
<------------------------401 Unauthorized
REGISTER ----------------------------->
<-------------------------------100 Trying
<-------------------------------OPTIONS !!!!
<----------------------------------200 OK

Scenario with OPTIONS messages works fine with hardware phones and 
softphones, but not with SIPp.

We tried several things, but with no effect:

1. We modified call.cpp file so that SIPP answers 200 OK to OPTIONS when 
launched with -aa option. SIPp sends 200 OK to first OPTIONS message, but 
for a second sends BYE and ends scenario (we use "-m 1" switch). UA is not 
registered in PBX.

2. We tried executing out-of-call scenarios with -oocsn and -oocsf options, 
but it doesn't work. Nothing happens.

3. We used -nd (no default behaviour) option. OPTIONS messages are ignored 
and PBX doesn't register UA.

Please help. We can't continue our work without solving this problem. I can 
provide more information if necessary. Thank you.

Maciej Sac 


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to