[Freeswitch-users] Calling Web service from Freeswitch

Rupa Schomaker rupa at rupa.com
Tue Apr 27 02:41:18 PDT 2010


No (t yet).  Open a jira for enhancement... (or send a patch)

On Mon, Apr 26, 2010 at 10:25 PM, Seven Du <dujinfang at gmail.com> wrote:

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



-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100427/ab888a1a/attachment-0001.html 


More information about the FreeSWITCH-users mailing list