[SR-Users] app_lua reload - what exactly gets reloaded?

Sebastian Damm damm at sipgate.de
Thu Jul 6 10:02:58 CEST 2017


Hi,

On Wed, Jul 5, 2017 at 6:47 PM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> the reload command marks the scripts specified by 'load' parameter to be
> reloaded next time they are going to be used.

That's what I saw in the debug logs. But what does that exactly mean?
I thought the script would get reinitialized and starts with a fresh
state. As if I would restart Kamailio only without all the Kamailio
initialization. But that seems not to be true. My "initialize" method
is not called, because the global object variable is already set
(which isn't when the script is executed after Kamailio was started).

Is there any way to "reset" the script except restarting Kamailio?

Regards,
Sebastian



More information about the sr-users mailing list