[asterisk-users] Calling a RESTful Web service from Dialplan????

Motiejus Jakštys desired.mta at gmail.com
Mon May 3 01:18:54 CDT 2010


You can call an external script and call CURL from there (either use
AGI, or Asterisk cmd System).

It depends on your task what to use (perl/bash/C...)

On Mon, May 3, 2010 at 7:47 AM, DHAVAL INDRODIYA
<dhaval.it01034 at gmail.com> wrote:
> Dear All,
>
> Last Week i tried and goggling more on how to call RESTful webservice from
> Dialplan?
>
> i found CURL function but while i tried  to use it ,it 's not  supported
> HTTPS request and we cannot set headers while send a request.
>
> also  without HTTPS . i get result it will return a string means whole
> xml,json request  is represented in string format, how can i parse that
> request?
>
> my question is that is there any  best utility in asterisk that support
> calling a webservie from Dialplan?
>
> i am also comfortable with C, or PERL based AGI.
>
> please guide me as i am new to this Webservice part...
>
> regards
> Dhaval
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list