No. LUA doesn't have any job control right now.<div><br></div><div>Any scripts you have running should be looping checking a condition. For scripts run on calls only loop while session:ready(), you can then hangup the call (eg from cli) and that would break the loop and end the script.</div>
<div><br></div><div>For ones started at startup you need to have them check for a stop event, there are examples around.<br><div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br><div class="gmail_quote">
On 29 January 2013 10:18, Carlo Dimaggio <span dir="ltr"><<a href="mailto:jaasmailing@gmail.com" target="_blank">jaasmailing@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">Hi all,<br>
<br>
<font size="-1"><font face="Arial">is there any way to kill a
lua script from FS CLI?<br>
<font size="-1"><font face="Arial">I have some scripts that
loop internall<font size="-1"><font face="Arial">y and I
w<font size="-1"><font face="Arial">ant to stop
them.<br>
<br>
<br>
<font size="-1"><font face="Arial">Regards,</font></font><br>
</font></font></font></font></font></font></font></font></font></font>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>