I would setup two SIPP sessions on different ports - say pa and pb; pa to do
the registers and pb to receive the options. You then do something like have
via pa and contact pb so the register replies go to pa but the options is
sent to pb. Port pb is in server mode so will take any Call-ID it gets.

If that split does not work then there are various other things you can try
but they are all much more complex.

Peter 

Peter Higginson
Newport Networks Ltd,
Direct line 01494 470694
http://www.newport-networks.com/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Meni Livne
Sent: 27 August 2006 17:37
To: [email protected]
Subject: [Sipp-users] Different Call-IDs In OPTIONS Sent By Asterisk

Hello,

I've been trying to use SIPp to do load tests on Asterisk and have run into 
problems because of changing Call-IDs.

The scenario starts like this:
    REGISTER ---------->
         100 <----------
         401 <----------
    REGISTER ----------> (with authentication)
         100 <----------
         200 <----------
     OPTIONS <----------
         200 ----------> (OK on the OPTIONS)

Then I would proceed to do an INVITE.

I've seen on the archives of this list that there's a problem if the Call-ID

received is not the one expected, and this is indeed the case because my 
Asterisk setup sends an OPTIONS request with a new Call-ID, which I'm 
supposed to reply to with 200 OK.

I was wondering if there is a way to work around this problem. Using two 
separate scenarios one after the other won't seem to work because the first 
scenario fails when it gets the OPTIONS request at the end . Since Sipp
never 
sends back the 200 OK in this case, I'm not really registered an can't 
continue to the second stage.

Has anyone been using Sipp with a similar scenario? What can I do to solve 
this?


Thanks in advance.

--
Meni Livne


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users


---------------
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
---------------


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to