View Single Post
  #26 (permalink)  
Old 01-15-2009, 12:04 PM
auto_exec's Avatar
auto_exec
PPCGeeks Regular
Offline
Threadstarter
Location: Chicago
 
Join Date: Jul 2007
Posts: 97
Reputation: 90
auto_exec is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Lookup City based on Caller ID

Quote:
Originally Posted by edraven View Post
Ah, yeah, using Area code + prefix is way better than what I was proposing. From your '99 list, going up one dir, and clicking one of the links on that page led me to this:

http://www.nanpa.com/reports/reports...es_assign.html

Which contains this:
http://www.nanpa.com/nanp1/allutlzd.zip

Which has all states, area code, prefix, *provider*, and city.

Doesn't look too hard to parse either, I may give it a shot if I get some free time today, but of course you'd still have to modify your app to accept it.
Great catch! I was on the NANPA site, but somehow I missed this page... I can probably try to incorporate this file/data when I get home from work today... shouldn't be too hard. Maybe I can even add settings options where you can choose what you want displayed (i.e. state only, city/state, city/state/provider).


Update: I also found a similar file for Canada on this page http://www.cnac.ca/co_codes/co_code_status_map.htm, direct link to file is http://www.cnac.ca/data/NPANXX.zip...

Last edited by auto_exec; 01-15-2009 at 12:13 PM. Reason: added Canadian file
Reply With Quote