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

Hector Geraldino Hector.Geraldino at ipsoft.com
Mon Oct 6 20:31:07 MSD 2014


There are probably better ways, but you could transfer the call to an extension that executes the script and drops the call after it finishes.

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:20 PM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] How to exit an IVR from menu-exec-app

Hi there,


I have a small Lua script that I run from an IVR

<menu name = "my_ivr"
...
...
>
...
<entry action = "menu-exec-app" digits="7" param="lua dosomething.lua" />
...
</menu>


By default, when I press 7 -  dosomething.lua runs and returns - and my_ivr repeats. I would like my_ivr to terminate when the lua script returns.


Is this possible?



Thanks in anticipation!


Phil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141006/0dd5b8b5/attachment.html 


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