No (t yet).  Open a jira for enhancement... (or send a patch)<br><br><div class="gmail_quote">On Mon, Apr 26, 2010 at 10:25 PM, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">is there a timeout param for curl ?<br>
<br>
2010/4/27 Alain MELIOT &lt;<a href="mailto:alain.meliot@gmail.com">alain.meliot@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi steven<br>
&gt;<br>
&gt; Thank you for your answer<br>
&gt; i will try<br>
&gt;<br>
&gt; 2010/4/26 Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; To use mod_curl to do a GET/POST request:<br>
&gt;&gt;<br>
&gt;&gt; &lt;action application=&quot;curl&quot;<br>
&gt;&gt; data=&quot;<a href="http://www.myhost.com/script?getName=myGetValue" target="_blank">http://www.myhost.com/script?getName=myGetValue</a>&quot; /&gt;<br>
&gt;&gt; &lt;action application=&quot;curl&quot; data=&quot;<a href="http://www.myhost.com/script" target="_blank">http://www.myhost.com/script</a> post<br>
&gt;&gt; postName=myPostValue%20a%20space&quot; /&gt;<br>
&gt;&gt;<br>
&gt;&gt; You&#39;d have to form a request string to match what your application<br>
&gt;&gt; expects. E.g.<br>
&gt;&gt; &lt;action application=&quot;curl&quot; data=&quot;<a href="http://www.myhost.com" target="_blank">http://www.myhost.com</a> post<br>
&gt;&gt; username=${username}&amp;ip=${network_addr}&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; You can parse the XML from a script after the curl request, you&#39;ll<br>
&gt;&gt; find the curl_response_code and curl_response variables contain the<br>
&gt;&gt; HTTP status code (200 if ok) and XML result.<br>
&gt;&gt;<br>
&gt;&gt; -Steve<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 26 April 2010 17:28, Alain MELIOT &lt;<a href="mailto:alain.meliot@gmail.com">alain.meliot@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi All<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; New to freeswitch i rewrite an asterisk application to freeswitch.<br>
&gt;&gt; &gt; I have a javascript application where i collect some user data and i<br>
&gt;&gt; &gt; must<br>
&gt;&gt; &gt; send  the data to a web service (wsdl) for processing.<br>
&gt;&gt; &gt; The problem is that i have no idea  how to call the web service from<br>
&gt;&gt; &gt; curl or<br>
&gt;&gt; &gt; javascript.<br>
&gt;&gt; &gt; Any help will be welcome.<br>
&gt;&gt; &gt; Thank in advance<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Alain MELIOT<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>
Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a><br>
</font><div><div></div><div class="h5"><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><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>