<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Chris,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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 ? <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><u><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Existing:<o:p></o:p></span></u></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>IVR Voice Browser(Send HTTP request) <-- --> Application server(return VXML to the voice browser of IVR). The VXML mainly stores callflow of each hotline.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><u><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Future:<o:p></o:p></span></u></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>FS(Send HTTP request) <-- --> Application server(return Javascript/XML to the dialplan of FS)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>David<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>cmrienzo@gmail.com<br><b>Sent:</b> Tuesday, July 28, 2015 11:00 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Implementing <Form> Tag of VXML in Freeswtich using Javascript<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>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. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Chris<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>On Jul 27, 2015, at 22:00, <<a href="mailto:david.fu@oocl.com">david.fu@oocl.com</a>> <<a href="mailto:david.fu@oocl.com">david.fu@oocl.com</a>> wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Brian,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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. </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best Regards,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>David</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Brian West<br><b>Sent:</b> Monday, July 27, 2015 9:53 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Implementing <Form> Tag of VXML in Freeswtich using Javascript</span><o:p></o:p></p></div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>On Mon, Jul 27, 2015 at 2:25 AM, <<a href="mailto:david.fu@oocl.com" target="_blank">david.fu@oocl.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Dear Freeswitch experts,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>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. </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Yours faithfully,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>David</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p></div><p class=MsoNormal><br><br>IMPORTANT NOTICE<br>Email from OOCL is confidential and may be legally privileged. If it is not<br>intended for you, please delete it immediately unread. The internet<br>cannot guarantee that this communication is free of viruses, interception<br>or interference and anyone who communicates with us by email is taken<br>to accept the risks in doing so. Without limitation, OOCL and its affiliates<br>accept no liability whatsoever and howsoever arising in connection with<br>the use of this email. Under no circumstances shall this email constitute<br>a binding agreement to carry or for provision of carriage services by OOCL,<br>which is subject to the availability of carrier's equipment and vessels and<br>the terms and conditions of OOCL's standard bill of lading which is also<br>available at <a href="http://www.oocl.com" target="_blank">http://www.oocl.com</a>.<o:p></o:p></p></div><p class=MsoNormal><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><div><div><div><div><div><p><b><i><span style='font-size:13.5pt;font-family:"Courier New"'>Brian West</span></i></b><span style='font-family:"Courier New"'><br></span><span style='font-size:10.0pt;font-family:"Courier New"'><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span><o:p></o:p></p><p><span style='font-size:7.5pt;font-family:"Courier New"'><img border=0 id="_x0000_i1025" src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"></span><o:p></o:p></p><p><b><i><span style='font-size:10.0pt;font-family:"Courier New"'>Twitter: @FreeSWITCH , @briankwest</span></i></b><span style='font-size:10.0pt;font-family:"Courier New"'><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></span><o:p></o:p></p><p><span style='font-family:"Courier New"'>Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></span><o:p></o:p></p><p><b><span style='font-size:10.0pt;font-family:"Courier New"'>T:</span></b><span style='font-size:10.0pt;font-family:"Courier New"'>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</span><o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><br><br>IMPORTANT NOTICE<br>Email from OOCL is confidential and may be legally privileged. If it is not<br>intended for you, please delete it immediately unread. The internet<br>cannot guarantee that this communication is free of viruses, interception<br>or interference and anyone who communicates with us by email is taken<br>to accept the risks in doing so. Without limitation, OOCL and its affiliates<br>accept no liability whatsoever and howsoever arising in connection with<br>the use of this email. Under no circumstances shall this email constitute<br>a binding agreement to carry or for provision of carriage services by OOCL,<br>which is subject to the availability of carrier's equipment and vessels and<br>the terms and conditions of OOCL's standard bill of lading which is also<br>available at <a href="http://www.oocl.com">http://www.oocl.com</a>.<o:p></o:p></p></div></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></p></div></blockquote></div><br><br>IMPORTANT NOTICE<br>Email from OOCL is confidential and may be legally privileged. If it is not<br>intended for you, please delete it immediately unread. The internet<br>cannot guarantee that this communication is free of viruses, interception<br>or interference and anyone who communicates with us by email is taken<br>to accept the risks in doing so. Without limitation, OOCL and its affiliates<br>accept no liability whatsoever and howsoever arising in connection with<br>the use of this email. Under no circumstances shall this email constitute<br>a binding agreement to carry or for provision of carriage services by OOCL,<br>which is subject to the availability of carrier's equipment and vessels and<br>the terms and conditions of OOCL's standard bill of lading which is also<br>available at http://www.oocl.com.</body></html>