<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>Henning pointed in the other response that an RPC command has to
be executed for reload, giving the link to the one for app_lua
module.</p>
<p>I am jumping in here to say that Python2/3 module have now reload
capabilities as well, what I presented in 2018 is no longer valid
for those modules. If you see the app_puthon.reload in the list of
exported rpc commands, then that version has reload support.</p>
<p>Regarding the possibility of "drop in a new file and that's it",
I explicitly didn't want this mode of operations for a few
reasons:</p>
<p> * requires to check the last update timestamp for each sip
packet routed with the script<br>
* I typically do intermediary saves when updating the files, and
this can lead to reloading a version before everything is
finished. Of course, one can edit in other place and the push it
to config folder, but somehow I didn't like the approach.</p>
<p>If someone wants something like this, it has to do it with a
modparam option.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 08.09.20 09:14, Karsten Horsmann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFArqsYjae117maO2Zm4WOToNcskmmN+DDK2H8gu9TBjMfCdjA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello List,
<div><br>
</div>
<div>i read Daniels Presentation <a
href="https://www.kamailio.org/events/2018-KamailioWorld/Day0/W07-Daniel-Constantin.Mierla-KEMI-Scripting.pdf"
moz-do-not-send="true">https://www.kamailio.org/events/2018-KamailioWorld/Day0/W07-Daniel-Constantin.Mierla-KEMI-Scripting.pdf</a>
and there is an hint about python(2/3) - that kemi script
reloading is not supported with python kemi scripts.</div>
<div><br>
</div>
<div>Is that correct for the actual versions (5.3.x and 5.4.x)?</div>
<div>And if i use for example lua as kemi script language, how i
restart that script only?<br>
</div>
<div>Drop in a new file and thats it (like FreeSWITCH did that)?</div>
<div><br>
</div>
<div>Thanks in advance</div>
<div><br>
</div>
<div>Cheers</div>
<div>Karsten</div>
<div><br>
</div>
<div>--
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">*Karsten Horsmann*<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>