Olivier
2012-Jan-11 09:09 UTC
[asterisk-users] Most efficient way to send an HTTP GET from the dialplan with asterisk 1.8 and above) ?
Hi, I've seen that function CURL is missing from 1.8 but back in with 10 (see wiki.asterisk.org). With asterisk 1.8 and above, for a custom CID Name lookup application, which is the most efficient way to send an HTTP GET from the dialplan and parse its response (code and content) ? Regards
Benny Amorsen
2012-Jan-11 12:05 UTC
[asterisk-users] Most efficient way to send an HTTP GET from the dialplan with asterisk 1.8 and above) ?
Olivier <oza_4h07 at yahoo.fr> writes:> I've seen that function CURL is missing from 1.8 but back in with 10 > (see wiki.asterisk.org).I see the CURL function in Asterisk 1.8.7.1, found in the res_curl module. In Fedora it is available in a separate package called asterisk-curl. If you do not get res_curl, it is likely because a prerequisite library was not installed when you built Asterisk. Try looking at MENUSELECT_DEPSFAILED in menuselect.makeopts. /Benny
Jim DeVito
2012-Jan-11 14:11 UTC
[asterisk-users] Most efficient way to send an HTTP GET from the dialplan with asterisk 1.8 and above) ?
I think the wiki may have just missed func_curl. I have a couple 1.8.x machines with working func_curl. Have you tried to compile it anyway? Thanks!! ----- Original message -----> Hi, > > I've seen that function CURL is missing from 1.8 but back in with 10 > (see wiki.asterisk.org). > > With asterisk 1.8 and above, for a custom CID Name lookup application, > which is the most efficient way to send an HTTP GET from the dialplan > and parse its response (code and content) ? > > Regards > > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120111/5199f302/attachment.htm>