[sr-dev] [SR-Users] Does kamailio reloads the modules per sip message ?

Olle E. Johansson oej at edvina.net
Mon Sep 29 11:53:16 CEST 2014


On 29 Sep 2014, at 10:56, Rahul MathuR <rahul.ultimate at gmail.com> wrote:

> Hello,
>  
> We have observed a strange behavior in corex module that it gets loaded at every sip packet which arrives to kamailio.
> We put a static variable and saw that it gets re-initialized to 0 everytime any sip packet comes to it.
>  
> Could you please tell me how to stop it and load it just once.
>  
>  
First, modules are only loaded once, when you start the kamailio serverr.

What type of variable are you using? Shared, AVP or script variable? Or something else?


/O


More information about the sr-dev mailing list