Achuth
 
You can find the answer in, RfC3261, 8.2.6.2 Headers and Tags
states
   If a request contained a To tag in the request, the To header field
   in the response MUST equal that of the request.  However, if the To
   header field in the request did not contain a tag, the URI in the To
   header field in the response MUST equal the URI in the To header
   field; additionally, the UAS MUST add a tag to the To header field in
   the response (with the exception of the 100 (Trying) response, in
   which a tag MAY be present).  This serves to identify the UAS that is
   responding, possibly resulting in a component of a dialog ID.  The
   same tag MUST be used for all responses to that request, both final
   and provisional (again excepting the 100 (Trying)).
 
RFC3261, chapter 8.2 describes the general behavior for UAS and so
it also applies for registrations as described in rfc3261, ch10.
 
Regards Martien
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Namens Achuth
Verzonden: Friday, March 15, 2002 8:47 AM
Aan: [EMAIL PROTECTED]
Onderwerp: [Sip-implementors] To tag in Register response

Dear All,
   I am sending a REGISTER request to one SIP server. The to and from fields, as usual are same, with the host part as the SIP server IP. Now, the server responds with 100 trying with same to and from value. It looks like the registrar is running at some other location (different IP). The server later responds with 200 OK, with same from. But the to field is diiferent, with the host part as the registrar IP address. I need to know whether this is a valid response.
Is the client supposed to consider this as a valid 200 OK and process the same ? Can register responses contain different to field than that given in the request ?
 
Thanks in Advance !!!
 
Regards,
Achuth.
 
 
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to