[SIPForum-discussion] sip Re-registration
    Srinivas . 
    nsrinivas at TechMahindra.com
       
    Tue Apr 24 06:51:10 UTC 2007
    
    
  
Darshan refer RFC 3261, section. 10.3 --> 7th point
 
For each address, the registrar then searches the list of
current bindings using the URI comparison rules. If the
binding does not exist, it is tentatively added. If the
binding does exist, the registrar checks the Call-ID value. If
the Call-ID value in the existing binding differs from the
Call-ID value in the request, the binding MUST be removed if
the expiration time is zero and updated otherwise. If they are
the same, the registrar compares the CSeq value. If the value
is higher than that of the existing binding, it MUST update or
remove the binding as above.
 
 
________________________________
From: discussion-bounces at sipforum.org
[mailto:discussion-bounces at sipforum.org] On Behalf Of darshan b n
Sent: Tuesday, April 24, 2007 11:26 AM
To: discussion at sipforum.org
Subject: [SIPForum-discussion] sip Re-registration
 
Hi ,
 
This is Re-registration testing scenerio..................where i will
Register with one contact  and  when i'm doing Re-registration i want to
add one more contact and update the previous one........please guide me
in this scenerio................please asap 
 
 
<scenario name="Basic Sipstone UAC">
  <send>
    <![CDATA[
      REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port]
      From: sipp <sip:reg1856@[local_ip]:[local_port]>;tag=[call_number]
      To: sipp <sip:reg1856@[local_ip]:[local_port]>
      Call-ID: [call_id]
      Cseq: 1 REGISTER
      Contact: <sip:reg1856@[local_ip]:[local_port]>
      Expires: 3600
      Max-Forwards: 70
      Content-Length: 0
    ]]>
  </send>
  <recv response="200"
        rtd="true">
  </recv>
  
  <pause milliseconds="16000"/>
 <send>
    <![CDATA[
      REGISTER sip:[remote_ip]:[remote_port] SIP/2.0
      [last_Via:]
      [last_From:]
      [last_To:]
      Call-ID: [call_id]    
      Cseq: 2 REGISTER
      Contact:<sip:reg1834 at 192.168.150.450:7000>
      Expires: 3890
      Max-Forwards: 70
      Content-Length: 0 
    ]]>
  </send>
 <recv response="200"
        rtd="true">
  </recv>
-- 
darshan B N
THANKS AND REGARDS 
============================================================================================================================
 
Disclaimer:
This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.
============================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20070424/1a64deb4/attachment-0002.html>
    
    
More information about the discussion
mailing list