[Kamailio-Devel] [SR-Dev] register_timer versus register_timer_process
Daniel-Constantin Mierla
miconda at gmail.com
Fri Mar 6 14:44:13 CET 2009
Hello,
On 03/06/2009 03:16 PM, Jan Janak wrote:
> Hello,
>
> There are two functions in the implementation of timers in kamailio,
> register_timer and register_timer_process. What is the different between those
> two functions and which should be used when?
the first one is to register a function to be executed by the main timer
process. Second is to create a new time process dedicated to run a
specific function.
> I noticed that, for example, the
> htable module seems to be using them interchangeably, there is a modparam
> which controls which function is gonna be used.
>
> Can we replace register_timer_process with register_timer function from the
> sip-router core?
>
Doesn't ser support to create a new timer process? How is it in the
timer module? Is the route executed by the main timer process?
Idea behind dedicated timer process is to be able to execute timely
operations there without affecting the main timer which deals with
retransmissions, etc.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list