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