09
Module 9

Voice calls, from 2G circuit to VoLTE and VoNR

Calls from circuit to VoLTE/VoNR: ISUP, SIP, IMS, codecs, charging, fixes.

On this page · 6 sections

Voice is the oldest mobile service and the one that changed the most under the hood. The user still dials a number and hears ringing — but the machinery moved from circuits (a dedicated line for the whole call) to packets (voice cut into small IP packets, like data).

Two worlds of voice

Circuit-switched (CS) Packet-switched voice (IMS)
Generations 2G GSM, 3G UMTS 4G (VoLTE), 5G (VoNR), Wi-Fi (VoWiFi)
Core MSC / VLR / HLR / GMSC IMS (CSCFs, TAS) + EPC/5GC
Signalling SS7: ISUP, MAP, CAP SIP + SDP (+ Diameter for policy)
Media TDM time slots (64 kbit/s) → RTP over IP RTP over IP (AMR / AMR-WB / EVS)
Reserved resources a circuit for the whole call a dedicated bearer / QoS flow (QCI 1 / 5QI 1)

Why it matters: SS7 still carries the call logic in 2G/3G, SIP carries it in 4G/5G, and the interconnect between operators is often still ISUP over TDM or SIGTRAN. So you must know both worlds.

1. A classic CS call (2G/3G) step by step

Mobile-originated (MO) call: 1. Phone asks the radio network for a channel (RACH → SDCCH in 2G; RRC connection in 3G). 2. Phone sends CM Service Request + SETUP (dialled number) to the MSC. 3. MSC checks the VLR (is the subscriber allowed? barred? enough credit via CAMEL?). 4. MSC analyses the number. If it is another operator's number it routes onward using ISUP IAM (Initial Address Message). 5. Far end answers with ACM (ringing) then ANM (answered). Billing starts at ANM. 6. Either side hangs up → REL (release) → RLC (release complete). The cause code (Q.850) explains why.

Mobile-terminated (MT) call — finding the called phone:

Step What happens Message
1 Call arrives at the home network's GMSC (Gateway MSC) ISUP IAM
2 GMSC asks HLR "where is this subscriber?" MAP SendRoutingInfo (SRI)
3 HLR asks the serving VLR for a temporary routing number MAP ProvideRoamingNumber (PRN)
4 VLR returns an MSRN (Mobile Station Roaming Number) PRN result
5 HLR returns the MSRN to the GMSC SRI result
6 GMSC sends the call to the serving MSC using the MSRN as the number ISUP IAM
7 MSC pages the phone, call is set up Paging → SETUP

This is why roaming is a signalling story: every roamed MT call needs SRI + PRN across the world, and why SRI is abused to locate subscribers.

Voice codecs you will see

Codec Bandwidth Where
FR / EFR / HR (Full / Enhanced Full / Half Rate) narrowband GSM
AMR-NB (Adaptive Multi-Rate) 300–3400 Hz, 4.75–12.2 kbit/s GSM, 3G, basic VoLTE
AMR-WB ("HD Voice") 50–7000 Hz, 6.6–23.85 kbit/s 3G / VoLTE
EVS (Enhanced Voice Services) up to 20 kHz ("super-wideband / fullband") VoLTE / VoNR

Transcoding (converting between codecs) costs quality and money. TrFO (Transcoder-Free Operation) and TFO try to avoid it.

2. Why VoLTE exists

4G LTE is all-IP — it has no circuit-switched domain at all. So to make a call you either: 1. Fall back to 2G/3G for the call (CSFB, Circuit-Switched Fallback), or 2. Carry the call as IP packets inside LTE (VoLTE).

Method How Downside
CSFB Phone on LTE gets paged via the MME (SGs interface to MSC), drops to 2G/3G for the call Slower setup (+1–3 s), data speed drops during the call
SRVCC Single Radio Voice Call Continuity — hands an ongoing VoLTE call over to 2G/3G when LTE coverage ends Needs MSC enhancements, brief gap
VoLTE Voice over IMS on LTE with a guaranteed-quality bearer Needs IMS + device + roaming agreements
VoWiFi / WFC VoLTE-style IMS call over Wi-Fi through an ePDG tunnel (IPsec) Needs good Wi-Fi, ePDG
VoNR Voice over New Radio, i.e. native 5G SA Needs 5G SA + IMS
EPS Fallback In 5G SA without VoNR, the phone is redirected to LTE for VoLTE Short fallback delay

3. IMS — the IP Multimedia Subsystem

IMS is the "telephone company in software": a set of SIP servers that does what MSC + HLR + SMSC did, using IP.

Node Full name Job
P-CSCF Proxy Call Session Control Function First contact point of the phone; compresses/secures SIP, talks to policy (PCRF / PCF)
I-CSCF Interrogating CSCF Entry to the home network; asks HSS which S-CSCF serves the user
S-CSCF Serving CSCF The brain: registration, routing, triggers to application servers
HSS / UDM Home Subscriber Server Subscriber data, authentication vectors (Cx interface, Diameter)
TAS / MMTEL AS Telephony Application Server Supplementary services: call forwarding, barring, conference, CLIP/CLIR
SBC / IBCF Session Border Controller / Interconnection Border Control Function Security and topology hiding at network edge, to other operators
MGCF + IM-MGW Media Gateway Control Function + Media Gateway Convert SIP ⇄ ISUP and RTP ⇄ TDM so IMS can talk to old CS networks
BGCF Breakout Gateway Control Function Picks the gateway for calls leaving to the PSTN
ENUM / DNS Telephone Number Mapping Turns a phone number into a SIP URI
SMS-over-IP-GW / IP-SM-GW Carries SMS over IMS (SMS over SIP), connecting to the SMSC
MRF Media Resource Function Conference bridges, announcements, tones

VoLTE call — the shape of it

  1. Attach to LTE; the network creates the default bearer (QCI 9, internet) and a second default bearer for IMS signalling (QCI 5, APN ims).
  2. Phone does IMS registration: SIP REGISTER → P-CSCF → I-CSCF → S-CSCF (with HSS authentication, "IMS AKA").
  3. To call: phone sends SIP INVITE (with SDP listing codecs and the IP/port for audio).
  4. Far end answers 180 Ringing → 200 OK → phone sends ACK. Audio flows as RTP packets.
  5. The P-CSCF asks the PCRF (Rx interface, Diameter) for QoS; the PCRF/PGW sets up a dedicated bearer, QCI 1 (guaranteed bit rate, low delay) for the audio.
  6. BYE ends the call.
SIP message Meaning
REGISTER "I am here" (IMS registration)
INVITE Start a call
100 Trying / 180 Ringing / 183 Session Progress Progress
200 OK Answered / accepted
ACK Final handshake of INVITE
BYE Hang up
CANCEL Abort before answer
MESSAGE SMS-over-IP / instant message
SUBSCRIBE / NOTIFY Event subscription (e.g. registration state)
486 Busy Here · 404 Not Found · 408 Timeout · 503 Service Unavailable Common failures

RTP / RTCP carry audio and its quality statistics; SDP describes codecs and ports; QCI 1 gives voice priority; QCI 5 is for IMS signalling; QCI 9 is default internet.

4. Calls between networks (interconnect)

  • PSTN / TDM interconnect — ISUP circuits (E1/T1) between exchanges; still common.
  • SIP trunk — the same call as SIP over IP between SBCs.
  • IPX — the IP Packet eXchange: a managed, private IP network between operators that carries SIP, Diameter, GTP, SMPP, etc. with quality guarantees.
  • Wholesale / carriers — A-party operator → one or more transit carriers → B-party operator. Each hop takes a margin. CLI (Calling Line Identification) spoofing and grey routes (cheap, unauthorised paths) happen here.
  • Number portability — a ported number must be looked up (MNP, via ENUM/HLR lookup/central database) before routing, or the call goes to the old operator. In SS7 this is an MNP-SRF doing a relay; in IP, ENUM/NP-DB.

Anti-spoofing: STIR/SHAKEN

A system for signing caller ID in SIP calls (US/Canada; similar efforts in other countries). STIR = Secure Telephony Identity Revisited; SHAKEN = Signature-based Handling of Asserted information using toKENs. The originating network signs the call with a certificate; the terminating network verifies it and can label or block spoofed calls.

5. Charging — who pays for a call

Concept Meaning
CDR Call Detail Record — a ticket written after a call: A-number, B-number, duration, cell, cause code
Online charging (OCS) Real-time balance check before and during the call (prepaid). SS7: CAMEL/CAP; IP: Diameter Gy/Ro
Offline charging (OFCS) Records collected and billed later (postpaid). Diameter Rf/Gz
Rating / billing Turning CDRs into money using tariffs
IN (Intelligent Network) Old architecture where an SCP controls the call from the side (prepaid, freephone, premium)
Interconnect billing Operators settle with each other per minute / per SMS using TAP/RAP files (roaming)

TAP = Transferred Account Procedure (visited operator bills home operator for roaming usage). RAP = Returned Account Procedure (returns errors). BCE / NRTRDE = near-real-time roaming data exchange for fraud detection.

6. Common call problems and what they mean

Symptom Likely area
One-way audio RTP blocked by NAT/firewall, wrong SDP IP, SBC issue
Call drops after ~30 s SIP session timers or missing ACK (firewall)
Call ends with cause 17 Called party busy
Cause 18/19 No answer / no response from user
Cause 34 No circuit available (congestion)
Cause 38 Network out of order
Cause 16 Normal clearing — a normal hang-up
Very long setup (4–6 s) CSFB or IMS not registered, then fallback
"No VoLTE" for roamers No VoLTE roaming agreement (S8HR roaming architecture needed)

Remember this: 2G/3G voice = SS7 + circuits. 4G/5G voice = SIP over IMS + a QoS bearer. CSFB / SRVCC / EPS fallback exist because networks and phones don't all support the new way at once. Whatever the generation, the question is always the same: find the subscriber, route the call, charge for it.