[Freeswitch-users] How to exit an IVR from menu-exec-app
Hector.Geraldino at ipsoft.com
Mon Oct 6 21:08:30 MSD 2014
Looks like you can map multiple actions to the same digit, so you can probably do something like:
<entry action = "menu-exec-app" digits="7" param="lua dosomething.lua" />
<entry action = "menu-exit” />
The documentation states that actions will be executed on sequence. If the operations are executed asynchronously (ie the IVR exits while the script is still running), you can probably set the value of a variable (flag), exit the menu, then have a condition on the main dialplan that invoked the ivr menu, and this condition will check for the flag and execute the script accordingly.
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Phillip Jones
Sent: Monday, October 06, 2014 12:42 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] How to exit an IVR from menu-exec-app
Hector - Yeah thanks for that. I am not trying to drop the call. I want to IVR to terminate and pass control back to the point in the dialplan that called it.
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users