[sr-dev] routing time of sip request
Olle E. Johansson
oej at edvina.net
Mon Oct 26 18:29:31 CET 2009
26 okt 2009 kl. 17.52 skrev Jan Janak:
> On Mon, Oct 26, 2009 at 5:11 PM, Juha Heinanen <jh at 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
Now found on this URL in doxygen:
http://sip-router.org/doxygen/sip-router/branch/master/TimerDoc.html
:-)
/O
More information about the sr-dev
mailing list