On Aug 1, 2010, at 12:30 PM, Mark Phillips wrote: > Hi Folks, > > Is curl available in the current batch of AstLinux offerings?
Yes, 0.7 supports curl and the asterisk function CURL. In 0.6 you could write a bash AGI and use wget to retrieve the data. Here is a basic example of a bash AGI... http://lonnie.abelbeck.com/astlinux/info/cnamfix.php Lonnie > > I want to use VoIPCNAM.com to enhance my incoming callerid experience > but I get the following error when the dialplan bit does it's thing; > >> [Aug 1 13:28:33] ERROR[1878]: pbx.c:1550 ast_func_read: Function CURL not >> registered > > The code that creates this error is; > >> exten => _1NXXNXXXXXX,n,Set(CALLERID(name)="${CURL(http:/ >> /query.voipcnam.com/query.php?api_key=ABCDEFG&number= >> ${CALLERID(num)})}") > > I'm on 0.6.1 BTW. > > Thanks > > Mark > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.