[Freeswitch-users] How to exit an IVR from menu-exec-app

Hector Geraldino Hector.Geraldino at ipsoft.com
Mon Oct 6 21:20:44 MSD 2014


Forgot to append the ‘digits’ arg to the second entry.

                <entry action = "menu-exit” digits=”7” />

Give it a shot

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Hector Geraldino
Sent: Monday, October 06, 2014 1:09 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] How to exit an IVR from menu-exec-app

https://wiki.freeswitch.org/wiki/IVR_Menu#See_Also

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> [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...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141006/2f30ce10/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list