[Freeswitch-users] Implementing <Form> Tag of VXML in Freeswtich using Javascript
david.fu at oocl.com
david.fu at oocl.com
Tue Jul 28 07:23:08 MSD 2015
Hi Chris,
Thanks Chris for the advice. You ‘re right that we may need a lot of effort to turn FS into a voice Brower. Hence, I am thinking how to turn the returned VXML in our existing application server into something that FS can interpret. For example, rewrite the code in our existing application to return XML/Javascript instead of VXML to FS. However, I don’t know how to implement <SUBMIT> in Javascript or XML according to the Javascript reference site at https://wiki.freeswitch.org/wiki/Category:Javascript. Would you please give me some hints ?
Existing:
IVR Voice Browser(Send HTTP request) <-- --> Application server(return VXML to the voice browser of IVR). The VXML mainly stores callflow of each hotline.
Future:
FS(Send HTTP request) <-- --> Application server(return Javascript/XML to the dialplan of FS)
Best Regards,
David
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of cmrienzo at gmail.com
Sent: Tuesday, July 28, 2015 11:00 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Implementing <Form> Tag of VXML in Freeswtich using Javascript
If you have the voice browser source code you could try and port it to control FS over event socket. Otherwise, you're in for a lot of work to turn FS into a voice browser from scratch.
Chris
On Jul 27, 2015, at 22:00, <david.fu at oocl.com<mailto:david.fu at oocl.com>> <david.fu at oocl.com<mailto:david.fu at oocl.com>> wrote:
Hi Brian,
Thanks for your prompt reply so much. Actually, we have an existing VXML application. The voice browser sends HTTP request to the Application server, which returns VXML to the voice browser in IVR server. Now, we would like to migrate it to Freeswitch. As we used <FORM> and <SUBMIT> tag in VXML, we are searching how to implement this in Freeswitch to send request to Application Server, and then return XML or Javascript instead of VXML to Freeswtich. Would you please give us some hints ? Thanks.
Best Regards,
David
From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Monday, July 27, 2015 9:53 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Implementing <Form> Tag of VXML in Freeswtich using Javascript
There is no support for VXML in FreeSWITCH, We have all the parts and I'm sure it could probably be implemented, but its never been a high priority item for us as nobody asks for it.
On Mon, Jul 27, 2015 at 2:25 AM, <david.fu at oocl.com<mailto:david.fu at oocl.com>> wrote:
Dear Freeswitch experts,
I would like to implement something like <Form> and <submit> tag of VXML in Freeswtich using Javascript. The purpose is to sending request back to the application server from Freeswtich. However, I couldn’t find the related API(s) in the Freeswitch official web site. Would you please help advise ? Thank you so much.
Yours faithfully,
David
IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not
intended for you, please delete it immediately unread. The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so. Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email. Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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
--
Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>
[http://billing.freeswitch.org/templates/default/img/whmcslogo.png]
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here<https://freeswitch.org/jira>! | Reddit: /r/freeswitch<https://www.reddit.com/r/freeswitch>
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not
intended for you, please delete it immediately unread. The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so. Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email. Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org
IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged. If it is not
intended for you, please delete it immediately unread. The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so. Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email. Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150728/bdb02af2/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list