Olivier
2012-Jan-11 15:05 UTC
[asterisk-users] Most efficient way to send an HTTP GET from the dialplan with asterisk 1.8 and above) ? [SOLVED]
2012/1/11, Jim DeVito <asterisk-users-mailing-list at devito.cc>:> 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?At the time I first wrote my question, libcurl4-openssl-dev was missing from my system so func_CURL was not available, which lead me check with wiki.asterisk.org. Now, I added the missing library and I can see CURL function available. I will open a ticket to let concerned people know about the missing entry in wiki.asterisk.org Thanks you very much for your help !> > 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 > >
A J Stiles
2012-Jan-11 17:14 UTC
[asterisk-users] Most efficient way to send an HTTP GET from the dialplan with asterisk 1.8 and above) ? [SOLVED]
On Wednesday 11 January 2012, Olivier wrote:> At the time I first wrote my question, libcurl4-openssl-dev was > missing from my system so func_CURL was not available, which lead me > check with wiki.asterisk.org.It's *always* a -dev (or -devel if you're into RPMs) package missing. Always! Frankly, why distributions still insist to separate out "development" files in 2012 is a mystery to me. Ubuntu especially have *no* excuse; user- friendliness is supposed to be their USP, and compiling a package from Source Code is something everyone has to do at some stage.> Now, I added the missing library and I can see CURL function available. > I will open a ticket to let concerned people know about the missing > entry in wiki.asterisk.orgIsn't the point of a Wiki, so that anybody can edit it without raising a support ticket? -- AJS Answers come *after* questions.