I don't see in your example above where you have a return "exit" in your hangup hook functionseems like the "exit" or "die" needs to be returned directly from the hanguphook function so try from that function (not cleanup function) to return "exit" or "dye", also it seemsOn Mon, Feb 29, 2016 at 10:53 AM, Abaci B <abaci64@gmail.com> wrote:That's exactly what I noticed, it breaks out of the current function, why not open a Jira? I don't think it's supposed to behave this way.On Mon, Feb 29, 2016 at 1:37 AM, Andrew Keil <andrew.keil@visytel.com> wrote:Thanks for your response.
I have gone through these with no luck. Like I said the session:destroy(“…”) crashes FreeSWITCH, which is therefore off the list. The rest simply interrupt the current function and do no end the script.