[asterisk-users] got-name

Jonathan Creasy jcreasy at netlogic.net
Fri Jun 22 14:52:26 CDT 2007


I started doing HTTP queries with curl from my own AGI script and that 
still works.

Their example doesn't work.

You can add this to the callerid_shell.agi script floating around.


lookup_gotname() {
        out=""
        out=`/usr/bin/curl -s -m 2 -A Mozilla/4.0 
http://cnam.got-name.com/?auth=<USERNAME>:<PASSWORD>\&type=http\&number=${1}`
        echo $out;
}



-Jonathan

Bill Michaelson wrote:
> Is it just me, or is the AGI interface at cnam.got-name.com failing 
> for others? Anyone know how to contact them without sending postal 
> mail or telegram?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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