From: =?utf-8?q?I=C3=B1aki_Baz_Castillo?= <[EMAIL PROTECTED]>
Hi, I'm sure that "Date "header is not mandatory at all in the 200 OK to a
REGISTER. In fact I don0t know a registrar adding it.
But RFC 3261 says:
------------------------------------------------------------------
10.3 Processing REGISTER Requests
8. The registrar returns a 200 (OK) response. The response MUST
contain Contact header field values enumerating all current
bindings. Each Contact value MUST feature an "expires"
parameter indicating its expiration interval chosen by the
registrar. The response SHOULD include a Date header
field.
------------------------------------------------------------------
But it also says:
------------------------------------------------------------------
10.2.5 Setting the Internal Clock
If the response for a REGISTER request contains a Date header field,
the client MAY use this header field to learn the current time in
order to set any internal clocks.
------------------------------------------------------------------
So? is that "Date" header a SHOULD or a MAY?
The registrar SHOULD include a Date header.
If it is present, the client MAY use it to learn the time.
(BTW, the sipX open-source PBX's registrar includes a Date header.)
Dale
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors