<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Look here:&nbsp;<a href="https://wiki.freeswitch.org/wiki/Run">https://wiki.freeswitch.org/wiki/Run</a></div><div><br></div><div>Or check mod_curl</div><div><br></div><div>Chris</div><div><br></div><div><br>On Jul 27, 2015, at 23:23, &lt;<a href="mailto:david.fu@oocl.com">david.fu@oocl.com</a>&gt; &lt;<a href="mailto:david.fu@oocl.com">david.fu@oocl.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><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]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Chris,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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, &nbsp;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. &nbsp;&nbsp;However, I don’t know how to implement &lt;SUBMIT&gt; in Javascript or XML according to the Javascript reference site at <a href="https://wiki.freeswitch.org/wiki/Category:Javascript">https://wiki.freeswitch.org/wiki/Category:Javascript</a>. &nbsp;Would you please give me some hints ? <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><b><u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Existing:<o:p></o:p></span></u></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">IVR Voice Browser(Send HTTP request) &lt;-- --&gt; 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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><b><u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Future:<o:p></o:p></span></u></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">FS(Send HTTP request) &lt;-- --&gt; 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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best Regards,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">David<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <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><a href="mailto:cmrienzo@gmail.com">cmrienzo@gmail.com</a><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 &lt;Form&gt; Tag of VXML in Freeswtich using Javascript<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p>&nbsp;</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. &nbsp;Otherwise, you're in for a lot of work to turn FS into a voice browser from scratch.&nbsp;<o:p></o:p></p></div><div><p class="MsoNormal"><o:p>&nbsp;</o:p></p></div><div><p class="MsoNormal">Chris<o:p></o:p></p></div><div><p class="MsoNormal"><o:p>&nbsp;</o:p></p></div><div><p class="MsoNormal"><o:p>&nbsp;</o:p></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>On Jul 27, 2015, at 22:00, &lt;<a href="mailto:david.fu@oocl.com">david.fu@oocl.com</a>&gt; &lt;<a href="mailto:david.fu@oocl.com">david.fu@oocl.com</a>&gt; 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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Brian,</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for your prompt reply so much.&nbsp; 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. &nbsp;As we used &lt;FORM&gt; and &lt;SUBMIT&gt; 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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best Regards,</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">David</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <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 &lt;Form&gt; Tag of VXML in Freeswtich using Javascript</span><o:p></o:p></p></div><p class="MsoNormal">&nbsp;<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">&nbsp;<o:p></o:p></p><div><p class="MsoNormal">On Mon, Jul 27, 2015 at 2:25 AM, &lt;<a href="mailto:david.fu@oocl.com" target="_blank">david.fu@oocl.com</a>&gt; wrote:<o:p></o:p></p><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Dear Freeswitch experts,</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I would like to implement something like &lt;Form&gt; and &lt;submit&gt; tag of VXML in Freeswtich using Javascript. The purpose is to sending request back to the application server from Freeswtich.&nbsp; However,&nbsp; 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:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Yours faithfully,</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">David</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">&nbsp;</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">&nbsp;</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.&nbsp; If it is not<br>intended for you, please delete it immediately unread.&nbsp; 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.&nbsp; Without limitation, OOCL and its affiliates<br>accept no liability whatsoever and howsoever arising in connection with<br>the use of this email.&nbsp; 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">&nbsp;<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:&quot;Courier New&quot;">Brian West</span></i></b><span style="font-family:&quot;Courier New&quot;"><br></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><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:&quot;Courier New&quot;"><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:&quot;Courier New&quot;">Twitter: @FreeSWITCH , @briankwest</span></i></b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><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:&quot;Courier New&quot;">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit:&nbsp;<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:&quot;Courier New&quot;">T:</span></b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 |&nbsp;<b>ISN:</b>410*543 |&nbsp;<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.&nbsp; If it is not<br>intended for you, please delete it immediately unread.&nbsp; 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.&nbsp; Without limitation, OOCL and its affiliates<br>accept no liability whatsoever and howsoever arising in connection with<br>the use of this email.&nbsp; 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.&nbsp; If it is not<br>intended for you, please delete it immediately unread.&nbsp; 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.&nbsp; Without limitation, OOCL and its affiliates<br>accept no liability whatsoever and howsoever arising in connection with<br>the use of this email.&nbsp; 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>.</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>