Crossposted from https://lemmy.blahaj.zone/post/48779421
I’m writing a program that can find info about a phone number. One problem appears to be that Google’s phone number library doesn’t provide enough info. For instance, take this number: +1 (613) 745-1576. My iPhone correctly says “Ottawa, Ontario, Canada”, while Google’s library doesn’t return the city? How does my iPhone pick this up but not Google’s own library? Is this provided by cell carriers? Is it something with the 745 block? If so, where can I find this info?


Yeah, today after moving to fully digital landlines as well there is no need to keep numbers tied up to geographical locations.
Still depend on your country rules tough. In mine, landlines all start with a 0 (zero) followed by a geographical prefix, so that will be unchanged (but can be spoofed). Mobiles start with a 3 instead, and those have no geographical location at all. And so on.