[SR-Users] get timestamp in Kamailio in miliseconds

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 9 19:31:43 CEST 2013


Hello,

the $TV(...) gives the microseconds:

- http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#tv_name

Cheers,
Daniel


On Mon, Sep 9, 2013 at 4:58 PM, Dragos Dinu <dragos.dinu at 1and1.ro> wrote:

> Hi,
>
> As the $Ts pseudovariable gets the timestamp only in seconds, what is the
> best way to get the value of the current Unix timestamp in miliseconds in
> Kamailio?
>
> Regards,
> Dragos
>
> ______________________________**_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>



-- 
Daniel-Constantin Mierla
  http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130909/3c2e2ee3/attachment.html>


More information about the sr-users mailing list