[Asterisk-Users] CDR Web Search Frontend

Roderick Montgomery rod at thecomplex.com
Tue Sep 30 14:30:16 MST 2003


[snip happens]
According to John Todd:
> >On Tue, 30 Sep 2003 00:02:06 -0700
> >  "Paul Crick" <web-asterisk-users at ivrl.com> wrote:
> >
> > oh my god, who's going to collate a list of Names/Area-codes?? Stuffed
> > if I'm doing it. :)
> 
> Or, at least one of these sources might have the data for free:
> 
> (harvested off NANOG today)
> 
> http://puck.nether.net/npa-nxx/
> http://www.cctec.com -> Search -> Search for info on NPA/NXX
> http://www.numberingplans.com
> http://www.telcodata.us/telco/telco.jsp

This afternoon I used the list of NPAs (Area Codes) at
<URL:http://docs.nanpa.com/cgi-bin/npa_reports/nanpa?function=list_npa_geo_number>
and requested the XML dump for each NPA from Telcodata.us, then compressed
the tar file of all of them. FYI, I rate-limited wget and put a "sleep" in
the shell loop so as not to abuse their network's generosity.

If someone wants the entire thing, I've temporarily left it at
<URL:http://thecomplex.com/npanxx_info.tar.gz>.

I figured that NPAs change infrequently enough to warrant caching this info
with the CDR web interface, rather than calling it from some remote web
database.

rm
-------------------------------------------------------------------------
 Roderick Montgomery   rod at thecomplex.com   <URL:http://thecomplex.com/>
the fool stands only to fall, but the wise trip on grace... [Sarah Masen]
-------------------------------------------------------------------------



More information about the asterisk-users mailing list