[Devel] date header in register response

Daniel-Constantin Mierla daniel at voice-system.ro
Tue May 2 10:54:41 CEST 2006


Hello,

there is a function append_time() implemented in the textops module 
which appends the date to reply (the docs are a bit misleading, 
mentioning the request, but looking in the code showed that adds the 
header to reply).

http://openser.org/docs/modules/1.0.x/textops.html#AEN239


Cheers,
Daniel


On 04/28/2006 10:25 PM, Juha Heinanen wrote:
> i studying why register from nokia e-series phones does not succeed, i
> noticed one thing that may be an issue.  rfc3261 says (10.3):
>
> 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. 
>
> 200 ok to register from openser does NOT by default include a Date hf.
> i don't remember seeing a function that can be called to add a Date hf.
> is there some means to do so or do i need to write one?  perhaps Data hf
> should be automatically added by registrar?
>
> - juha
>
>   

> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>   



More information about the Devel mailing list