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.
Thanks in advance !
On 29 Sep 2014, at 10:56, Rahul MathuR rahul.ultimate@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