<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This is misleading. &nbsp;You can launch a lua script on a session and kill it that way. &nbsp;There is no job control whatsoever for non session based lua scripts running in the background. &nbsp;It would be a nice feature, but its not one that exists today.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 7, 2017, at 8:51 AM, Luis Jimenez &lt;<a href="mailto:ljjimenez@gmail.com" class="">ljjimenez@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Maybe you can find what you are looking for in the book "Mastering FreeSWITCH".<div class=""><br class=""></div><div class="">You can fire a script in the background with luarun passing the call uuid, and from the script then you can stop using uuid_kill the current foreground command.</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Apr 6, 2017 at 1:54 PM, Nuno Reis <span dir="ltr" class="">&lt;<a href="mailto:nreis@wavecom.pt" target="_blank" class="">nreis@wavecom.pt</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hello all.<div class=""><br class=""></div><div class="">Sometime ago, I don't remember exactly where, don't know if here in the mailing list or jira or somewhere else, I do remember seeing someone showing how to run a lua script in background with 'luarun' and obtaining a job-uuid for that background thread/script which could be used If I'm not mistaken to control that background job including killing it using 'uuid_kill'.</div><div class="">Is this achievable?</div><div class="">At present time I want to be able to launch a lua script in background a get a uuid for it something similar to a process id which I can use to check If the script is still running and eventually use uuid_kill on it.</div><div class="">If someone can elaborate on how to achieve this I'll be very pleased and thankful.</div><div class=""><br class=""></div><div class="">Looking forward to hear from you.&nbsp;</div><div class=""><br class=""></div><div class="">Regards,</div><div class=""><div class=""><div class="m_1769014696883525240gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><p class=""><font color="#1f497d" face="'Trebuchet MS', sans-serif" class="">--</font></p><p class=""><b class=""><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#1f497d" class="">Nuno Miguel Reis</span></b><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#133770" class=""> | <b class="">Unified Communication</b></span><b class=""><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""> Systems</span></b><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#133770" class=""><br class="">
M. <a value="+351918919465" class="">+351 913907481</a> | <a href="mailto:nreis@wavecom.pt" target="_blank" class=""><span style="color:blue" class="">nreis@wavecom.pt</span></a></span><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;" class=""></span><span style="font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""></span><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#133770" class=""><br class=""></span></p><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#133770" class="">WAVECOM-Soluções Rádio, S.A.</span><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#133770" class=""><br class="">
Cacia Park | Rua do Progresso, Lote 15</span><span style="font-size:8.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#133770" class=""><br class="">3800-639 AVEIRO | Portugal</span><span style="font-size:8pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:rgb(19,55,112)" class=""><br class="">
T. <a value="+351234919190" class="">+351 309 700 225</a> | F. <a value="+351234919191" class="">+351 234 919 191</a></span><span style="font-size:8pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:rgb(19,55,112)" class=""><br class=""></span><b class=""><span style="font-size:9.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;;color:#1f497d" class=""><a href="http://maps.google.com/maps/ms?msa=0&amp;msid=202333747613191340808.0004b4b227a6144f0df88" target="_blank" class=""><span style="color:#1f497d" class="">GPS</span></a> | <a href="http://www.wavecom.pt/" target="_blank" class=""><span style="color:#1f497d" class="">www.wavecom.pt</span></a></span></b><b class=""><a href="http://www.wavecom.pt/" target="_blank" class=""><span style="color:#1f497d" class=""></span></a></b><div class=""><span style="border-collapse:collapse" class=""></span><br class="webkit-block-placeholder"></div><a href="http://www.wavecom.pt/" target="_blank" class=""><img src="http://email-signature.wireless-meeting.com/signature_wavecom.png" alt="" class=""></a></div><div dir="ltr" class=""><a href="http://www.wavecom.pt/pt/" target="_blank" class=""><img src="http://email-signature.wireless-meeting.com/pub_wavecom.png" class=""></a><br class=""><div class=""><br class="webkit-block-placeholder"></div><p class=""><span class=""><br class=""></span></p></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>