Everything worth knowing, nothing that isn't.
What an HLR lookup does
An HLR lookup sends an SS7 MAP Send-Routing-Info-for-SM query toward the number's home network and reads back the record: whether the MSISDN is a valid, active subscriber, whether it is currently reachable or roaming, and which operator (MCC/MNC) serves it right now. It is a real-time question — 'is this number good, and where does it live?' — answered by the network itself, not a static database.
- An SS7 MAP query against the number's home register.
- Returns active/inactive, reachable/roaming, and current operator.
- Real-time and network-authoritative, not a guess from the prefix.
- Used to clean lists and route correctly before you send.
What MNP is, and why it breaks prefix routing
Mobile number portability is a regulatory right, not a query: subscribers can move to a new operator and keep their number. That convenience destroys the old assumption that a number's prefix (its number range) tells you the operator. After a port, a number that 'looks like' operator A is actually served by operator B. Route or price by prefix alone and you will send to the wrong network — over-paying, mis-routing, or failing delivery.
- MNP is a regulation letting subscribers keep their number.
- It breaks the prefix-to-operator mapping routing once relied on.
- A ported number's prefix no longer identifies its real network.
- Common across MENA, Europe, and most modern markets.
How they work together
MNP creates the problem; the HLR lookup solves it. Because you can no longer trust the prefix, you run an HLR lookup to discover the true current operator — including the ported status — before you route or bill a message. That is why number-intelligence products bundle both: HLR for live status and MNP resolution so every message goes to the network that actually holds the subscriber, at the right rate.
- MNP is the reason prefix routing is no longer safe.
- The HLR lookup returns the real, post-port operator.
- Validate before sending to avoid mis-routing and over-billing.
- See BroadNet HLR Lookup for real-time MSISDN validation.
HLR lookup vs MNP at a glance
| HLR lookup | MNP | |
|---|---|---|
| What it is | A real-time network query | A regulatory right / framework |
| Answers | Is it live, and who serves it now? | Can a subscriber keep their number? |
| Mechanism | SS7 MAP SRI-SM query | Regulated porting between operators |
| Output | Operator, active status, roaming, ported flag | A number that no longer matches its prefix |
| Why you care | Validate and route correctly before sending | Prefix routing is no longer reliable |