Not Logged in - No Account?
Logging in allows you to post to forums, track new posts, subscribe to threads, pm (private message) other members, and receive periodic news letters. Once logged in this message disappears. No account? Create one by registering here. Lost your password, request a new password. We respect your privacy and collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for details.
Public CallerID Lookup Sources?

Anybody have any advice on a good public callerID lookup source? I saw that whitepages.com has an API to where you can implement reverse number lookup into your application, but I dont quite understand how to do it, or if it will work with freePBX.
__________________

anywho has been decent
here is a snippet of php for an agi script.
sub anywho_lookup {
my ($npa, $nxx, $station) = @_;
my $ua = LWP::UserAgent->new( timeout => 45);
my $URL = 'http://www.anywho.com/qry/wp_rl';
$URL .= '?npa=' . $npa . '&telephone=' . $nxx . $station;
$ua->agent('AsteriskAGIQuery/1');
my $req = new HTTP::Request GET => $URL;
my $res = $ua->request($req);
if ($res->is_success()) {
if ($res->content =~ /(.*)/s) {
my $listing = $1;
if ($listing =~ /(.*)<\/B>/) {
my $clidname = $1;
return $clidname;
}
complete info missing
A more detailed description of implemation in freepbx would be quite helpful than a snip.