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"><<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>></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 <<a href="mailto:alain.meliot@gmail.com">alain.meliot@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi steven<br>
><br>
> Thank you for your answer<br>
> i will try<br>
><br>
> 2010/4/26 Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>><br>
>><br>
>> To use mod_curl to do a GET/POST request:<br>
>><br>
>> <action application="curl"<br>
>> data="<a href="http://www.myhost.com/script?getName=myGetValue" target="_blank">http://www.myhost.com/script?getName=myGetValue</a>" /><br>
>> <action application="curl" data="<a href="http://www.myhost.com/script" target="_blank">http://www.myhost.com/script</a> post<br>
>> postName=myPostValue%20a%20space" /><br>
>><br>
>> You'd have to form a request string to match what your application<br>
>> expects. E.g.<br>
>> <action application="curl" data="<a href="http://www.myhost.com" target="_blank">http://www.myhost.com</a> post<br>
>> username=${username}&ip=${network_addr}"/><br>
>><br>
>> You can parse the XML from a script after the curl request, you'll<br>
>> find the curl_response_code and curl_response variables contain the<br>
>> HTTP status code (200 if ok) and XML result.<br>
>><br>
>> -Steve<br>
>><br>
>><br>
>> On 26 April 2010 17:28, Alain MELIOT <<a href="mailto:alain.meliot@gmail.com">alain.meliot@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hi All<br>
>> ><br>
>> > New to freeswitch i rewrite an asterisk application to freeswitch.<br>
>> > I have a javascript application where i collect some user data and i<br>
>> > must<br>
>> > send the data to a web service (wsdl) for processing.<br>
>> > The problem is that i have no idea how to call the web service from<br>
>> > curl or<br>
>> > javascript.<br>
>> > Any help will be welcome.<br>
>> > Thank in advance<br>
>> ><br>
>> > Alain MELIOT<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>
>> ><br>
>> ><br>
>><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>
><br>
><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>
><br>
><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>