>>>>> I??aki Baz Castillo <[EMAIL PROTECTED]> wrote:

> Hi, as Bob Penfield pointed in a previous mail, RFC3261 doesn't
> clarify if a 1XX response (that creates an early-dialog) MUST or not
> contain a "Contact" header (that would be need, for example, to send a
> BYE to terminate the early dialog instead of using a CANCEL).

Why do you think so? See table in section 20:

      Header field          where   proxy ACK BYE CAN INV OPT REG
      ___________________________________________________________
      Contact                 R            o   -   -   m   o   o
      Contact                1xx           -   -   -   o   -   -
      Contact                2xx           -   -   -   m   o   o
      Contact                3xx      d    -   o   -   o   o   o

'o' in crossing of "1xx" and "INV" means "optional" and this is explained
in the section:

===
   "Optional" means that an element MAY include the header field in a
   request or response, and a UA MAY ignore the header field if present
   in the request or response (The exception to this rule is the Require
   header field discussed in 20.32).
===

For finishing of early dialog, I suppose you should extract contact if it is
sent in response, and avoid to change remote target otherwise.

-- 
Valentin Nechayev
PortaOne Inc., Software Engineer
mailto:[EMAIL PROTECTED]
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to