A Location Routing Number (LRN) is a 10-digit number that identifies the switch currently serving a telephone number — not the number itself. When a number is ported from one carrier to another, the industry stops trusting the dialed digits and instead routes and rates the call on the number’s LRN, which points to where the number actually lives.
If you buy or sell voice termination at any volume, the LRN is not trivia — it is the key your invoice is computed on. Two calls to the same dialed prefix can carry different rates because one of those numbers was ported years ago, and operators who miss this spend hours disputing bills that are, in fact, correct. SIPNEX is an FCC-licensed carrier providing wholesale voice termination, so this is the operator’s explanation, not the textbook’s.
Why LRNs exist: porting broke the dialed number
Before number portability, the numbering plan doubled as a routing table. Every NPA-NXX prefix (area code plus the next three digits) belonged to exactly one carrier and, in practice, one switch. The first six digits told you which network to hand the call to. Routing and billing were both driven by the dialed digits, and the dialed digits never lied.
Local Number Portability (LNP), introduced in the late 1990s, deliberately broke that assumption. A subscriber now keeps their number when changing carriers, so the prefix no longer tells you who serves it — a number issued on one carrier’s switch may live on a competitor’s network across the country. The industry needed a routing key decoupled from the dialed digits, and the LRN is that key.
The mechanism is simple. Every switch in the network is assigned its own LRN — a 10-digit number whose prefix is native to that switch. When a number is ported, the industry NPAC database records a mapping: this dialed number is now served by the switch identified by this LRN. Never-ported numbers have no NPAC entry and still route natively on their prefix; ported numbers route on their LRN instead. The operational side of moving a number — LOAs, FOC dates, and the delays that eat weeks — is covered in our number porting guide. This post is about what happens to routing and billing after the port completes.
How an LRN dip works in the call path
An LRN dip is a query against the number portability database, performed before a call is routed. In the call path it works like this:
- A call is placed. The originating or intermediate carrier must decide where to send it.
- The carrier dips the portability data. The query asks one question: has this number been ported? If yes, the response returns the LRN of the switch that now serves it. If no, the call routes on the dialed digits as usual.
- The signaling carries both numbers. The call routes toward the LRN while the dialed number rides along so the terminating switch can deliver it to the right subscriber. In SIP, this appears as the
rn(routing number) parameter on the called number, plus annpdiflag telling downstream carriers the dip is already done. - The terminating switch completes the call. It recognizes its own LRN, discards it, and delivers the call to the dialed number.
By industry convention, the network one hop before the terminating carrier is responsible for making sure the dip has happened. In practice, wholesale carriers dip early — at ingress — because least-cost routing depends on the answer. A call that never gets dipped default-routes to the donor network (the carrier that originally held the prefix), which no longer serves the number: best case an inefficient forward, worst case a failed call rated against the wrong network. Dips are also not free — portability data access is metered in most arrangements — which is why carriers cache results and why “who pays for the dip” is a real line item in wholesale interconnect economics.
Why termination billing follows the LRN, not the dialed number
Here is the part that matters for your invoice. Termination rate decks are keyed to prefixes: each NPA-NXX (or finer breakout) carries a rate reflecting what it costs to deliver a call to the network behind it. After decades of portability, the dialed prefix no longer identifies that network — the LRN does. So wholesale termination is typically rated on the LRN, which the industry calls LRN billing, as opposed to rating on the dialed digits.
The consequences are concrete:
Your cost per call depends on where the number lives, not what you dialed. Dial a number in a cheap metro prefix that was ported to a network with expensive termination, and you pay the expensive rate. Across a lead list heavy with ported numbers, your blended cost drifts away from what the dialed-digit math predicted.
Rate deck comparisons must be like-for-like. An LRN-rated deck and a dialed-number-rated deck are not comparable line by line. A vendor quoting attractive rates on dialed digits while their upstream bills them on LRN is either eating the spread or planning to recover it from you. Ask every termination vendor which basis the deck is rated on before you compare a single prefix.
CDR reconciliation has to be LRN-aware. When you audit an invoice, your CDRs need the LRN (or the data to derive it) or you are reconciling against the wrong key. Serious traffic analytics start here too: rating and per-carrier performance breakouts hang off the LRN, alongside the delivery metrics in our telecom acronyms decoder. When a route’s ASR craters, the LRN tells you which terminating network actually serves those numbers, so you can localize the problem instead of blaming the whole deck.
Resellers leak margin without it. If you resell termination and rate your customers on dialed digits while your carrier bills you on LRN, every ported number is a small pricing error. The errors do not cancel out; they accumulate against you.
LRN lookup tools
You do not need SS7 access to work with LRNs. The tooling falls into a few categories:
Real-time dip services. API-, ENUM-, or SIP-based queries that return the LRN per number on demand. Evaluate them on data freshness (how quickly NPAC changes propagate), query latency if the dip sits in your call path, and per-query pricing at your volume.
Batch scrubbing. Bulk LRN lookup against an entire number list — how dialer operations forecast real termination costs on a lead list instead of discovering them on the invoice.
Carrier-provided dips. Many carriers handle the dip inside the network, so the LRN work is invisible to you and the deck is simply rated correctly. Ask whether the LRN appears in the CDRs you receive, because that is what makes your own reconciliation possible.
We deliberately name no vendors: the right choice depends on your volume, latency tolerance, and whether you need the data in-call or in-batch.
Frequently asked questions
What is an LRN?
An LRN (Location Routing Number) is a 10-digit number that identifies the switch currently serving a telephone number. It exists because number portability broke the old rule that a number’s prefix identified its carrier. When a number is ported, the NPAC database maps it to the new carrier’s LRN, and the industry routes and rates calls to that number on the LRN rather than the dialed digits.
What is an LRN dip?
An LRN dip is a query against the number portability database asking whether a dialed number has been ported and, if so, which LRN now serves it. Carriers perform dips before routing so the call goes to the correct network, and before rating so the call is billed against the correct prefix. In SIP signaling, the result travels as the rn parameter with an npdi flag showing the dip was already done.
Why is my call billed to a different rate center than I dialed?
Because the number was ported. Termination billing typically follows the LRN — the switch that actually serves the number — not the dialed prefix. If a number originally issued in one rate center now lives on a switch homed elsewhere, the call is rated where it was actually delivered. This is standard LRN billing, not an invoicing error, though you should still verify the LRN in your CDRs matches what you were charged.
How do I look up a number’s LRN?
Three routes: a real-time dip service (API, ENUM, or SIP query) for per-call or on-demand lookups; batch scrubbing services that append LRNs to an entire number list, which is the right tool for forecasting campaign termination costs; or your carrier, if they expose LRN data in CDRs or their portal. If a number has never been ported, there is no LRN mapping and it routes on its native prefix.
SIPNEX terminates US traffic on published wholesale rates with 6-second billing, no setup or per-channel fees, and trunks live in 24 hours. If your current invoice does not reconcile against the LRNs in your CDRs, our wholesale voice termination is built to be audited — test a route against your current deck.
Keep reading.
The carrier built by operators, for operators.
FCC-licensed carrier with its own STIR/SHAKEN SP certificate. Operator-owned. SIP trunks built for operators who dial at volume.