Discussion:
[SR-Users] Does kamailio reloads the modules per sip message ?
Rahul MathuR
2014-09-29 08:56:33 UTC
Permalink
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 !
--
Warm Regds.
MathuRahul
Olle E. Johansson
2014-09-29 09:53:16 UTC
Permalink
Post by Rahul MathuR
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

Loading...