On Fri, Jan 1, 2010 at 10:03 AM, Alberto Escudero <aep.lists@it46.se> wrote:
Hi,
I am writing several IVRs using Freeswitch XML http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_ivr
One of the nodes of the IVR is a Javascript application that records a message. e.g.: <entry action="menu-exec-app" digits="3" param="javascript foo.js"/>
The Javascript application starts by issuing a session.answer()
[records the voice message]
exit();
Once the Javascript exits, the channel is dropped and hence the IVR terminates. Is it possible to write a Javascript application that once is completed, the channel returns back to the top menu of the IVR? I want to emulate the same behavior that "menu-play-sound", that once the file is played, the IVR logic returns to the top menu.
Just transfer the call to an extension in the dialplan that in turn sends the call to the IVR in question... -MC