Least Cost Routing (LCR) Explained
Least cost routing is the process of selecting the cheapest available path for each voice call in real time. Every carrier, wholesale voice provider, and large enterprise with multiple SIP trunks uses some form of LCR. It is the economic engine behind competitive voice pricing — and the reason that NPA/NXX data is not just a technical reference but a business-critical dataset.
Why LCR Exists
Wholesale voice termination is a commodity market. Dozens of carriers offer to terminate calls to North American phone numbers, each at slightly different rates. The rate for a call from New York to area code 312 (Chicago) might be $0.003/minute from one carrier and $0.005/minute from another — and $0.012/minute to a rural Alaska NPA/NXX.
For a carrier handling millions of minutes per month, these fractions of a cent per minute add up to significant cost differences. LCR systems automate the process of choosing the cheapest route for every call, every time.
Rate Decks
The foundation of LCR is the rate deck — a pricing table that maps every NPA/NXX combination to a per-minute rate. A wholesale carrier publishes rate decks to its customers, listing what they charge to terminate calls to each destination.
A typical rate deck entry:
| NPA | NXX | Rate Center | State | Interstate Rate | Intrastate Rate |
|---|---|---|---|---|---|
| 312 | 200 | CHICAGO | IL | $0.0030 | $0.0035 |
| 312 | 555 | CHICAGO | IL | $0.0030 | $0.0035 |
| 907 | 225 | ANCHORAGE | AK | $0.0120 | $0.0140 |
Rate decks can contain hundreds of thousands of rows — one per NPA/NXX. They are updated regularly (daily, weekly, or monthly depending on the carrier) and reflect the underlying costs of interconnection, access charges, and competitive dynamics.
What Drives Rate Differences
- Access charges: Rural rate centers have higher access charges than urban ones, making rural termination more expensive
- Interconnection costs: Direct connections to large carriers are cheaper than multi-hop transit routes
- Volume: High-traffic destinations (major metros) have more competition and lower rates
- Regulatory classification: Interstate vs. intrastate rates differ due to access charge structures
- Carrier type: Calls terminating on wireless networks may have different rates than wireline
How LCR Works
An LCR engine sits between the call routing decision and the trunk selection. When a call comes in:
- Digit analysis: The system identifies the destination NPA/NXX
- Rate lookup: The LCR engine queries rate decks from all available upstream carriers for this NPA/NXX
- Route ranking: Routes are ranked by cost (cheapest first), subject to quality filters and business rules
- Primary route attempt: The call is sent to the cheapest qualifying route
- Failover: If the primary route fails (busy, congestion, timeout), the system automatically tries the next cheapest route
- CDR logging: The actual route used and the applicable rate are recorded for billing
This happens in real time, typically in under 100 milliseconds, on every call.
Quality vs. Cost
Pure lowest-cost routing can degrade call quality. The cheapest route might traverse more network hops, introduce more latency, or terminate through a carrier with poor reliability. Sophisticated LCR systems balance cost against quality metrics:
- ASR (Answer Seizure Ratio): The percentage of call attempts that result in an answer. Low ASR indicates routing problems or poor-quality routes.
- ACD (Average Call Duration): Abnormally short calls may indicate quality issues causing callers to hang up.
- PDD (Post-Dial Delay): Time between sending the INVITE and receiving ringing indication. Long PDD degrades user experience.
- MOS (Mean Opinion Score): Estimated voice quality score based on codec, packet loss, jitter, and latency.
An LCR system might define rules like: “Use the cheapest route with ASR above 50% and PDD under 5 seconds.” Or it might weight routes by a quality-adjusted cost formula that penalizes carriers with poor historical performance.
Dynamic Route Quality Monitoring
Advanced LCR platforms monitor route quality in real time and adjust routing decisions automatically:
- A route that suddenly shows high failure rates is demoted or disabled
- A route that was previously blocked for quality issues is periodically re-tested
- Time-of-day patterns are learned (some routes perform better during off-peak hours)
- Geographic performance varies — a carrier may be excellent for metro destinations but poor for rural ones
LCR in Practice
Wholesale Carriers
A wholesale voice carrier aggregating traffic from hundreds of customers uses LCR to manage its own upstream costs. They might have 5-10 upstream termination carriers, each with different rate decks and quality profiles. The LCR engine routes each call to the cheapest qualifying upstream route.
Retail VoIP Providers
A VoIP provider selling phone service to businesses manages margins through LCR. They charge the business a flat rate or bundled price while using LCR to minimize their per-minute termination costs behind the scenes.
Enterprise PBX
A large enterprise with SIP trunks from multiple carriers uses LCR to reduce costs. The PBX or SBC compares rates across the trunks and routes each outbound call to the cheapest option.
International Routing
LCR becomes especially important for international calls, where per-minute rates vary enormously by destination country and even by mobile vs. landline within a country. A call to a London landline might cost $0.01/minute, while a call to a mobile number in a developing country might cost $0.30/minute or more.
The Role of NPA/NXX Data
LCR systems depend on accurate, current NPA/NXX data for several reasons:
- Rate deck application: Rate decks are keyed by NPA/NXX. Incorrect or outdated NPA/NXX mappings mean incorrect rate lookups.
- Jurisdiction determination: Whether a call is interstate or intrastate (which may have different rates) depends on the rate center and LATA associated with the NPA/NXX.
- New NPA/NXX activation: When new area codes or exchanges are activated, rate decks must be updated. A new NPA/NXX with no rate deck entry may be unroutable.
- Number portability: LRN data from number portability lookups overrides NPA/NXX-level routing. Some LCR systems re-rate calls based on the LRN rather than the dialed NPA/NXX, since the actual termination cost depends on where the number is currently served.
This is why the data on this site — refreshed daily from NANPA and carrier routing tables — matters operationally. Stale NPA/NXX data means incorrect routing and incorrect billing.
Further Reading
- How a Phone Call Gets Routed — the broader routing process that LCR plugs into
- NPA/NXX Explained — the numbering data that rate decks are built on
- Local Number Portability — how porting affects LCR decisions
- Browse Area Code Data — NPA/NXX assignments with carrier and rate center data