This is misleading. You can launch a lua script on a session and kill it that way. There is no job control whatsoever for non session based lua scripts running in the background. It would be a nice feature, but its not one that exists today.
On Apr 7, 2017, at 8:51 AM, Luis Jimenez <ljjimenez@gmail.com> wrote:
Maybe you can find what you are looking for in the book "Mastering FreeSWITCH".
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.
On Thu, Apr 6, 2017 at 1:54 PM, Nuno Reis <nreis@wavecom.pt <mailto:nreis@wavecom.pt>> wrote: Hello all.
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'. Is this achievable? 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. If someone can elaborate on how to achieve this I'll be very pleased and thankful.
Looking forward to hear from you.
Regards, --
Nuno Miguel Reis | Unified Communication Systems M. +351 913907481 <> | nreis@wavecom.pt <mailto:nreis@wavecom.pt> WAVECOM-Soluções Rádio, S.A. Cacia Park | Rua do Progresso, Lote 15 3800-639 AVEIRO | Portugal T. +351 309 700 225 <> | F. +351 234 919 191 <> GPS <http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88> | www.wavecom.pt <http://www.wavecom.pt/> <http://www.wavecom.pt/>
<http://www.wavecom.pt/> <http://www.wavecom.pt/pt/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org