tis 2003-12-16 klockan 11.47 skrev [EMAIL PROTECTED]:

> If A sends an INVITE to B, and B is going to respond with a non-2xx
> final response (such as 4xx, 5xx) to that INVITE.
> MUST B inserts the To tag in its response OR can it send the response
> without it ?
> If the response does not have the To tag in it, does it violate the RFC
> 3261 specification ?

Yes, according to this from RFC 3261:

8.2 UAS Behavior
[...]
8.2.6 Generating the Response
[...]
8.2.6.2 Headers and Tags
[...]
   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)).  Procedures for
   the generation of tags are defined in Section 19.3.

Hans

-- 
Hans Persson <[EMAIL PROTECTED]>    Ingate - Firewalls with SIP & NAT
Ingate Systems AB  +46 13 210857   http://www.ingate.com/

Private: <[EMAIL PROTECTED]>  http://www.lysator.liu.se/~unicorn/
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to