[Freeswitch-users] XML IVR and Javascript menu-exec-app

Anthony Minessale anthony.minessale at gmail.com
Tue Jan 5 13:18:00 PST 2010


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 at freeswitch.org> wrote:

>
>
> On Fri, Jan 1, 2010 at 10:03 AM, Alberto Escudero <aep.lists at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100105/ec00b97b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list