[OpenSER-Users-ES] [OT] ¿Es necesario o no una cabecera "Date" en el "REGISTER 200 OK"?
Iñaki Baz Castillo
ibc at aliax.net
Sat Mar 1 22:56:56 CET 2008
El Sábado, 1 de Marzo de 2008, Saúl Ibarra escribió:
> On Sat, Mar 1, 2008 at 7:41 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> > Hola, el RFC 3261 dice:
> > ------------------------------------------------------------------
> > 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.
> > ------------------------------------------------------------------
> >
> > Pero también dice:
> > ------------------------------------------------------------------
> > 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.
> > ------------------------------------------------------------------
> >
> > ¿En qué quedamos? ¿es obligatorio la cabecera "Date" en el 200 OK a un
> > REGISTER?
>
> Leyendo los trozos que has puesto yo diría que no. Entiendo que lo que
> ocurre es que si se manda un Date este lo puede usar el cliente para
> algún tipo de timming... Pero dudo que sea necesario... aunque podría
> equivocarme, desafortunadamente tengo el openser un poco oxidado :(
Yo asumo que no es obligatorio, ya que OpenSer no lo manda y todos pueden
registrarse. Es decir, 100% seguro que no es obligatorio. Pero me fastidia
que el RFC sea tan confuso a veces :(
--
Iñaki Baz Castillo
More information about the Users-es
mailing list