How do phones find the city of a phone number?
-
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?
-
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?
The (613) is the area code. That is specifically allocated for use in the Ottawa area. There are precise databases/maps. Of course, an area code can have very little with where one lives these days. I live in the Pacific Northwest and have an area code for the Midwest because that is where I was when I got my cellular phone.
The 745 is the 'exchange'. It was a way for an area code to be broken down into smaller groups. Sometimes that would be regions of a town/county/etc. or it could be for a large business, a University, government, etc.
One final note on the area code... there are a finite number of phone numbers that can be created within one area code. Sometimes a region's population/businesses will grow and create a shortage of phone numbers. When this happens the area covered by one area code will be restructured so that on area keeps the code and the rest of the area gets a new code.
-
The (613) is the area code. That is specifically allocated for use in the Ottawa area. There are precise databases/maps. Of course, an area code can have very little with where one lives these days. I live in the Pacific Northwest and have an area code for the Midwest because that is where I was when I got my cellular phone.
The 745 is the 'exchange'. It was a way for an area code to be broken down into smaller groups. Sometimes that would be regions of a town/county/etc. or it could be for a large business, a University, government, etc.
One final note on the area code... there are a finite number of phone numbers that can be created within one area code. Sometimes a region's population/businesses will grow and create a shortage of phone numbers. When this happens the area covered by one area code will be restructured so that on area keeps the code and the rest of the area gets a new code.
I'm aware about the area code part. Is there a list of these office codes so that I can refine these numbers' registered areas like my phone does?
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy