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

Daniel-Constantin Mierla miconda at gmail.com
Wed Jul 5 18:47:17 CEST 2017


Hello,


On 05.07.17 15:00, Sebastian Damm wrote:
> Hi,
>
> we have written some logic for a project in lua. There is a small
> function that gets called from Kamailio, but the main logic is done in
> a self-written module. That module does initialize some values from
> database on the first request that comes in.
>
> Now when reloading app_lua from kamcmd or via jsonrpc, I don't see the
> log output generated when initializing.
>
> In the debug log, I can see that the reload is taking place, but the
> variables and state seem to not get reset.
>
> What does the reload command actually reload?
>
>
the reload command marks the scripts specified by 'load' parameter to be
reloaded next time they are going to be used.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com




More information about the sr-users mailing list