At that point you probably have an invalid "session" object. I would try an hangup hook, that is executed after hangup in a freshly spawned process. another way is, earlier in your script, create an API object, then use that API object to terminate the conference. -giovanni On Thu, Jun 9, 2016 at 9:17 AM, Andrew Keil <andrew.keil@visytel.com> wrote:
To FreeSWITCH Users,
I have just come across an issue when my Lua script hangs up while inside a conference (let’s call it conference name: “testconf”). I would like to be able to terminate everyone in the conference when this happens, however when I try to call session:execute(“conference”, “testconf hup all”) nothing happens. There is some mention of zombie_exec setting inside the DEBUG logging, however I have no idea where that is and how that is used.
If someone has a neat trick to enable this to work I would appreciate it.
Kind Regards,
Andrew Keil
*Visytel Pty Ltd*
_________________________________________________________________________ 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
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618