[Freeswitch-users] getting a list of jJOB UUIDs currently running in background

Luis Jimenez ljjimenez at gmail.com
Fri Apr 7 21:17:24 MSD 2017


Sorry Michael, i just doing something like that in one of my apps, maybe i
can not express in english language.


On Fri, Apr 7, 2017 at 12:24 PM, Michael Jerris <mike at jerris.com> wrote:

> 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170407/f85a083a/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list