For reference, the function is called "append_time()"
Not sure if it has any arguments but if you want to see the time format
its in the textopt.c source file
ah, thank you
Didn't find it in the documentation though, had to look through the
source code
Jiri Kuthan wrote:
>there is a textops function you can use to put date in replies to REGISTERs. -jiri
>
>At 11:17 PM 4/13/2005, reticent wrote:
>
>
>
>
>>Is there any intent to add this functionality to the SER Registrar module?
>>
>>It can be a very useful feature
>>
>>--- (reference to possible use for UAC's)
>>
>>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.
>>---
>>
>>
>>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.
>>---
>>
>>_______________________________________________
>>Serdev mailing list
>>serdev(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serdev
>>
>>
>>
>>
>--
>Jiri Kuthan
http://iptel.org/~jiri/
>
>