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?


Area code 613 is eastern Ontario. Apple likely just lists all 613 numbers as Ottawa. But also, your experience might be different calling between two iPhones, because similar to iMessage, the call may be relayed the through an apple-specific route using data.
But if the carrier has finer location info than that (and they do) you don’t want it to be leaked to the receiver. It’s not like when you go on vacation and call someone from your same SIM, they can determine where you’re calling from.