Michael,

 

Yes this is what I was after.  Thanks so much!

 

Best Regards,

 

Andrew

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Tuesday, 24 February 2015 9:53 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Re- Lua feature session:setAutoHangup(false), can this be done inside the dialplan xml?

 

 

 

On Sat, Feb 21, 2015 at 5:11 PM, Andrew Keil <andrew.keil@visytel.com> wrote:

To FreeSWITCH users,

 

Quick question.

 

Is there a way as the first dialplan action (inside the actual dialplan xml) to call a similar function to what I can call inside Lua (ie. session:setAutoHangup(false))?  So that all the dialplan applications or actions can be completed without remote disconnect (hangup) interrupting the xml dialplan flow?

 

Obviously I could call a Lua script to perform “session:setAutoHangup(false)”, however it would be nice to see it inside the dialplan itself for clarity.

Perhaps this would do what you need?
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+set+zombie+exec

-MC
 

 

Kind Regards,

 

Andrew Keil