or call: session.setAutoHangup(0); so exiting the script will not hangup the channel if it still happens get the log line "its blue" that shows where the call is being hungup from" On Tue, Jan 5, 2010 at 3:02 PM, Michael Collins <msc@freeswitch.org> wrote:
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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900