I believe that any dialplan variable that can be set by Lua can also be set by the XML dialplan. In case you are using the vanilla dialplan that installs with FreeSWITCH, feel free to delete unnecessary extension blocks, leaving only what you need. It will speed traversal of calls through the dialplan and make troubleshooting much easier. You might not need to set that variable after that, which sounds a bit dangerous to me; you might end up with zombie calls that never hang up. Bote From: Andrew Keil Sent: Saturday, 21 February, 2015 20:12 Subject: [Freeswitch-users] Re- Lua feature session:setAutoHangup(false), can this be done inside the dialplan xml? 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. Kind Regards, Andrew Keil