Your Register message may look something like this


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

      REGISTER sip:[field0] SIP/2.0
      Via: SIP/2.0/[transport] xx.xx.xx.xx:[local_port];branch=[branch];rport
      From: ua[service][call_number] <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: ua[service][call_number] <sip:[EMAIL PROTECTED]>
      Call-ID: [call_id]
      CSeq: [seq_num] REGISTER
      Contact: <sip:[EMAIL PROTECTED]:[local_port];transport=UDP>
      Expires:3600
      [authentication username=uaTTT1 password=uapass]
      Content-Length: 0

    ]]>
  </send>


while a response to this message would be like this

  <send>
    <![CDATA[

      SIP/2.0 200 OK
      [last_Via:]
      [last_From:]
      [last_To:];tag=[call_number]
      [last_Call-ID:]
      [last_CSeq:]
      [last_Contact:];expires=21600
      Content-Length: 0
      [routes]

    ]]>
  </send>


NOTE The Register message should be in the client file while the the 200 Ok message should be in the server file

thanks,
Makarand


On 8/8/06, ST <[EMAIL PROTECTED]> wrote:
dear Peter Higginson,
 
    How to reply to REGISTER within a receive sequence? all sample flows separate <recv> & <send> like below,
 <recv request="INVITE"  optional="true">  </recv>
  <send>    <![CDATA[...    </send>
 
    So i don't get it how to reply to this kinds of REGISTERs. Thank you.
 
yours,
2006-08-09
----- Receiving the following content -----
Time: 2006-08-03, 18:43:49
Subject: RE: [Sipp-users] crlf thing & all-time rule

On 1. - crlf outputs a blank line in the scenario display, nothing more

On 2. - I regard it as a bug but the backwards search for optional messages
looks without limit so it is possible to do
  recv request="REGISTER" optional="true" next="10"
in the first receive sequence.

Peter

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

-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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