[OpenSIPS-Users] Opensips 1.4: Value of $Ts and reset
bogdan at voice-system.ro
Fri Nov 27 10:25:12 CET 2009
If the UNIX timestamp is not so friendly for you, try to use other
string-like time values like $Tf or $time() :
> On 26/11/09 11:36, Jennifer-4 wrote:
>> I´m using Opensips 1.4.
>> I need to know the time when some SIP messages are sent. I read the value of
>> variable $Ts.
>> But, what is the time´s reference? Is there any way to reset the initial
> as stated here, the reference is unix epoch, which is 00:00:00 UTC
> on 1 January 1970.
> in 1.6 and later, if you want to use opensips' startup time as
> reference, you can use $TS.
> afaik, there's no such parameter in 1.4.
> : http://www.opensips.org/Resources/DocsCoreVar14#toc80
> : http://en.wikipedia.org/wiki/Unix_time
> Users mailing list
> Users at lists.opensips.org
More information about the Users