Remix.run Logo
▲ cartoonworld 3 days ago

Yeah but you can easily use an api for HLR lookup and see where it is ported to

▲viraptor 3 days ago | parent | next [-]

It's not fully reliable. For example you can have local residential lines that in practice go over VoIP and the provider allows you to use the same account to call out. They'll be classified as just normal landlines. It will vary wildly from place to place, but I think soon the type field in HLR will mostly lose its meaning.

(Just checked my company number, running on a hosted PBX, and it's marked as landline with no extra porting info that would contradict it)

▲noman-land 3 days ago | parent | prev [-]

What's HLR? Can you explain?

▲bennettnate5 3 days ago | parent [-]

The Home Location Register (HLR) is the telephone-provider-specific database that routes calls coming from other providers; while originally a 2G term (it's HSS in LTE and UDM in 5G), people still just call it a HLR lookup. The actual HLR lookup itself goes to a separate country-wide database that maps phone numbers to the cellular or SIP provider. So, when you place a call, your provider can use that database to then lookup the HLR database and reach out to it to further route your call to that person's specific location.