On Mon, Oct 26, 2009 at 5:11 PM, Juha Heinanen <j...@tutpro.com> wrote: > Jan Janak writes: > > > How about using ticks then? Ticks fit into a 32-bit number. By default > > there are 16 ticks per second (but you can change it in > > timer_ticks.h), would that provide enough precision? > > yes, 16 ticks per second would be enough.
OK, then I think everything you need should already be there. You can use get_ticks_raw() to get the ticks value and store it in an AVP. Various macros for comparison and conversion of ticks are in timer_ticks.h. Some documentation (written by Andrei) is in doc/timers.txt -- Jan _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev