The call-id in the OPTIONS message probably differs from the one in the 
REGISTER. You may probably use two different sipp instances to achieve what you 
need,  one for each message handling.

Regards,

Olivier Boulkroune
 

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED]
Envoyé : mercredi 26 septembre 2007 10:07
À : sipp-users@lists.sourceforge.net
Objet : [Sipp-users] (no subject)

Hello,

I would like to test SIP client with the below scenario.
The problem is that SIPP doesn't capture OPTION message and then
there is the following message in trace_err log :

2007-09-21 17:55:51: Aborting call on unexpected message for Call-ID
'yPMLXi-EoIf7EN7W7Cc40MW6vAMMij': while expecting 'REGISTER', received 'OPTIONS

I don't understand why SIPP is waiting for REGISTER whereas OPTION is expected ?

Thanks for your help.

PY




<scenario name="TEST OPTION">
  <recv request="REGISTER">
  </recv>

 <send retrans="500">
    <![CDATA[

      SIP/2.0 200 OK
      Content-Length: 0
      [last_Via:]
      Route: <sip:192.168.1.5;lr>
      [last_Call-ID:]
      [last_CSeq:]
      [last_From:]
      [last_To:];tag=[call_number]
      Contact: <sip:192.168.1.10>;expires=3600;+g.3gpp.cs-voice

      ]]>
  </send>

  <recv request="OPTIONS" crlf="true">
  </recv>

  <send>
    <![CDATA[

      SIP/2.0 501 Not Implemented
      Content-Length: 0
      [last_Via:]
      [last_Call-ID:]
      [last_CSeq:]
      [last_From:]
      [last_To:];tag=[call_number]
    ]]>
  </send>

</scenario>
-- 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to