Wi-Fi calling, formally Voice over Wi-Fi (VoWiFi), is a mobile-operator service that places and receives ordinary cellular voice calls—and usually SMS—over a Wi-Fi network instead of the licensed radio access network. The number, SIM identity, and billing relationship stay the same. The ambiguity worth clearing up is that “Wi-Fi calling” is a marketing name for a 3GPP access method, not a generic internet phone app and not the same thing as data simply preferring Wi-Fi.
1. High-Level Architectural Overview
Wi-Fi Calling is not simply routing voice over an IP connection (like Skype or WhatsApp). It is a carrier-grade extension of the cellular network. It utilizes the exact same IP Multimedia Subsystem (IMS) core that handles VoLTE (Voice over LTE) and VoNR (Voice over 5G).
The primary architectural goal is to create a secure, encrypted tunnel from the smartphone through the public internet directly to the carrier’s core, effectively trickling the phone into believing it is connected to a cellular tower.
The Three Pillars of VoWiFi
- Security: Encrypting traffic over untrusted Wi-Fi using IPsec.
- Continuity: Seamlessly handoff active calls between Wi-Fi and Cellular (VoLTE/VoNR) without dropping the session.
- Authentication: Leveraging the physical SIM/eSIM for network access using EAP-AKA protocols.
2. Core Architectural Components
The Wi-Fi Calling architecture is divided into three main domains: the User Equipment (UE), the Untrusted Non-3GPP Access Network, and the Evolved Packet Core (EPC) / IMS.
A. User Equipment (UE)
The smartphone requires specialized hardware and software stacks to support VoWiFi natively.
- IMS Client: The software stack responsible for SIP (Session Initiation Protocol) signaling and media handling.
- IPsec Stack: Built into the device’s operating system to handle IKEv2 (Internet Key Exchange) tunnel establishment.
- ePDG Client: The logical entity within the UE that manages the connection to the carrier’s security gateway.
B. The Untrusted Non-3GPP Access Network
This comprises the local Wi-Fi router, the ISP’s broadband network, and the public internet. The carrier has no control over this network, which is why it is classified as “untrusted.” It can suffer from NAT (Network Address Translation) traversal issues, packet loss, and latency spikes.
C. The Evolved Packet Data Gateway (ePDG)
The ePDG is the most critical architectural component specific to VoWiFi. It acts as the security gateway and the bridge between the untrusted internet and the trusted carrier core.
- Tunnel Termination: It terminates the IPsec tunnels originating from millions of smartphones.
- Traffic Routing: It decrypts the payload and routes the SIP signaling to the IMS Core and the user plane (voice data) to the Packet Data Network Gateway (PGW).
- NAT Traversal: It handles the complexities of routing traffic through home and enterprise routers.
D. The IP Multimedia Subsystem (IMS) Core
The brain of the operation. Once the ePDG decrypts the traffic, the IMS handles the actual call logic.
- P-CSCF (Proxy-Call Session Control Function): The first point of contact for SIP signaling. It compresses headers (SigComp) to save bandwidth and enforces QoS policies.
- S-CSCF (Serving-CSCF): Handles user registration, session routing, and triggers services (like call forwarding).
- TAS (Telephony Application Server): Manages supplementary services like voicemail, call waiting, and conference calling.
3. The Signaling and Data Flow: Step-by-Step
Understanding the architecture requires tracing the lifecycle of a VoWiFi connection, from the moment Wi-Fi is toggled on to the moment a call is placed.
Step 1: ePDG Discovery via DNS
When the device connects to Wi-Fi and attempts to register for Wi-Fi Calling, it must find the carrier’s ePDG. It does this via a highly specific DNS lookup.
- The UE constructs a Fully Qualified Domain Name (FQDN) based on the SIM card’s PLMN (Public Land Mobile Network) identity:
epdg.epc.mnc<MNC>.mcc<MCC>.pub.3gppnetwork.org - The DNS server resolves this to the IP address of the nearest ePDG.
Step 2: IPsec Tunnel Establishment (IKEv2)
Before any SIP signaling can occur, a secure tunnel must be built.
- The UE initiates an IKEv2 (Internet Key Exchange version 2) handshake with the ePDG.
- The ePDG challenges the UE to prove its identity.
- The UE uses the SIM card to perform EAP-AKA (Extensible Authentication Protocol – Authentication and Key Agreement).
- The ePDG proxies this authentication request to the carrier’s AAA (Authentication, Authorization, and Accounting) server / HSS (Home Subscriber Server).
- Upon success, cryptographic keys are generated, and an IPsec ESP (Encapsulating Security Payload) tunnel is established.
Step 3: IMS Registration
Once the tunnel is active, the UE is virtually “inside” the carrier’s network.
- The UE sends a SIP REGISTER message through the IPsec tunnel to the P-CSCF.
- The IMS core registers the device’s current IP address and marks the device as available for VoWiFi routing.
Step 4: Call Setup and Media Path
When a user dials a number:
- Control Plane: A SIP INVITE is sent through the IPsec tunnel to the IMS core to set up the call.
- User Plane (Media): The actual voice audio is encoded (usually via AMR-WB or EVS codecs), packetized into RTP (Real-time Transport Protocol), encrypted via SRTP, and sent through the IPsec tunnel to the ePDG, which decrypts and routes it to the PSTN or the recipient’s device.
1. What the service actually is
Service definition
Wi-Fi calling is the commercial name for Voice over Wi-Fi (VoWiFi). It is a mobile-operator feature that lets a subscriber place and receive voice calls, and usually text messages, using a Wi-Fi network with internet access instead of the operator’s licensed radio network.
The service relationship does not change. The subscriber is still a customer of the mobile operator. The SIM or eSIM still identifies the line. The phone number is unchanged. Charges, included minutes, and international rates still come from the mobile plan unless the operator publishes a specific exception. No second account, no downloaded dialer, and no requirement that the other party use the same feature.
In standards terms it is not a new voice service. It is the existing IMS voice service—the same one used for VoLTE—reached over untrusted non-3GPP access. 3GPP specifies that access in TS 23.402 for the Evolved Packet Core, with a 5G equivalent through the Non-3GPP Interworking Function. GSMA IR.51 profiles how devices and networks should implement it so that handsets and operators interoperate.
What the subscriber is buying
From the handset’s point of view, the product is a mode of the native phone app.
- Outgoing calls use the normal dialer and the normal number.
- Incoming calls ring the same way, and caller ID remains the mobile number.
- SMS, and on many networks MMS, is included. Some operators also carry RCS over the same registration.
- A status indicator such as “Wi-Fi Calling,” the carrier name plus “Wi-Fi,” or a similar badge shows that the voice registration is on Wi-Fi.
- Enablement is a settings toggle, often gated by an emergency-address form.
The subscriber is not buying a broadband phone line, a virtual number, or a private branch exchange. Call recording, auto-attendant, hunt groups, and CRM integration are outside the service. Those belong to hosted business VoIP.
What stays the same, and what changes
| Element | Unchanged by Wi-Fi calling | Changed by Wi-Fi calling |
|---|---|---|
| Subscriber identity | SIM / eSIM, IMSI, mobile number | None |
| Voice platform | Operator IMS | Access path into that IMS |
| Dialer and contacts | Native phone application | Registration may show a Wi-Fi badge |
| Billing relationship | Mobile plan | Path may affect roaming treatment |
| Radio used for the call | — | Wi-Fi instead of LTE/5G NR, when policy selects it |
| Security of the access leg | — | IPsec to the operator ePDG, because Wi-Fi is untrusted |
| Emergency location | Obligation to support emergency calls | Often a registered address rather than a cell site |
Data preference is a separate behavior. Phones already send general internet traffic over Wi-Fi when associated. Wi-Fi calling only redirects operator voice and messaging. Turning the feature off does not stop web, email, or video from using Wi-Fi.
Why it is still a cellular service
Three properties keep it inside the mobile service rather than in the over-the-top category.
- Authentication is SIM-based. The handset proves possession of the subscriber key through EAP-AKA inside the IKEv2 exchange that builds the tunnel. An app password cannot substitute.
- The call is completed in the operator’s IMS. SIP registration, supplementary services, voicemail, and interconnect to other networks are the same machinery used for VoLTE.
- The legal and commercial wrapper is the mobile subscription. Emergency-calling duties, lawful-intercept obligations, and number ownership stay with the operator that issued the SIM.
An app such as WhatsApp, FaceTime, or Signal can also carry voice over the same Wi-Fi router. That is a different service: both parties opt in, identity is an app account, and the mobile operator neither signals nor bills the call as voice.
Scope that operators actually ship
Commercial Wi-Fi calling is narrower than “any voice over any Wi-Fi.”
- It requires entitlement. The plan, the SIM profile, and the device model must be approved. An unlocked handset with the right radio bands can still be refused.
- It requires a path to the operator’s Evolved Packet Data Gateway. Captive portals, strict firewalls, and some international IP policies block that path even when web browsing works.
- It is policy-selected. The phone may stay on VoLTE whenever cellular quality is acceptable, and move to Wi-Fi only indoors or at the cell edge. The user toggle allows the feature; it does not always force it.
- Handover between Wi-Fi and LTE is part of the intended service when both accesses are anchored in the same packet core, but quality depends on device firmware and operator implementation.
- Emergency calling is in scope, with a weaker location guarantee than a tower-originated call. Many operators will not enable the feature until a civic address is stored.
International use is a tariff decision layered on the same mechanism. Some operators treat a Wi-Fi call to a home-country number as domestic while the subscriber is abroad. Others rate it as roaming or block the gateway from foreign addresses. The protocol does not decide that; the operator’s policy does.
What it is not
- It is not a replacement for cellular coverage as a network. It borrows someone else’s broadband.
- It is not free calling in the abstract. It is included only to the extent the mobile plan already includes the call.
- It is not end-to-end encrypted in the consumer-messaging sense. The access leg is encrypted to the operator; the operator can still handle the call in the core.
- It is not available on every phone that can join Wi-Fi. Support is a carrier certification, not a Wi-Fi Alliance logo.
In one line: Wi-Fi calling is the operator’s own IMS phone service, reached through a SIM-authenticated tunnel over ordinary Wi-Fi, sold as a coverage extension rather than as a separate communications product.
2. How a call is set up
Preconditions
A call cannot start until four conditions are true.
- The handset is associated with Wi-Fi and has a working IP path to the public internet. Captive-portal login, if any, is already complete.
- The SIM or eSIM is present, the plan is entitled for Wi-Fi calling, and the device build is approved by that operator.
- An emergency address has been stored where the operator requires one before registration.
- The phone’s policy has selected Wi-Fi for IMS, or cellular IMS is unavailable and Wi-Fi is the fallback.
Until those are met, the native dialer has nothing to register against. General web traffic over the same Wi-Fi is irrelevant; voice uses a separate tunnel and a separate APN.
Stage 1: Find the operator gateway
The handset does not send SIP to an arbitrary server on the LAN. It must find the home operator’s Evolved Packet Data Gateway (ePDG), the internet-facing terminator for untrusted non-3GPP access in 3GPP TS 23.402. In a 5G core the equivalent role is the N3IWF; the sequence below is the widely deployed ePDG path.
Discovery is DNS-based. The device builds a well-known fully qualified domain name from the home network identity on the SIM (country and network codes in the IMSI) and resolves it to one or more ePDG addresses. Operator configuration delivered earlier by the SIM or by device management can override that name. Selection for ordinary service follows TS 24.302; emergency ePDG selection is a separate procedure so that an emergency call is not forced through the same gateway policy as a normal call.
The access point is not part of the signaling. It only forwards IP. No operator certificate is installed on the router.
Stage 2: Build the IPsec tunnel
The handset opens IKEv2 to the ePDG on UDP port 500, or 4500 if a NAT is detected. GSMA IR.51 requires this profile, including NAT traversal and rekeying. Setup has two exchanges.
- IKE_SA_INIT negotiates algorithms and runs a Diffie–Hellman exchange. This produces the keys that protect everything after it. The ePDG is authenticated with its certificate. The handset checks that certificate against the operator trust anchors configured on the device.
- IKE_AUTH, already encrypted, authenticates the subscriber with EAP-AKA. The ePDG passes the EAP exchange to the 3GPP AAA server, which challenges the SIM through the authentication vector stored in the home subscriber server. The SIM responds with a result only the holder of the subscriber key can compute. A password is never used.
On success the two sides create IPsec child security associations in tunnel mode, encapsulating security payload. That tunnel is the SWu interface. All later IMS traffic is carried inside it. NAT keepalives stop the home router from dropping the UDP mapping. Both the IKE security association and the IPsec security association are rekeyed on a timer supplied by the operator.
If EAP-AKA fails, the certificate check fails, or UDP 500/4500 is blocked, Wi-Fi calling stops here. Web browsing can still work.
Stage 3: Attach to the packet core
Inside the tunnel the handset requests a PDN connection to the IMS well-known APN. The ePDG signals the packet gateway over S2b. The gateway assigns an inner IP address, consults the policy server, and anchors the session. A second SWu instance is used if the device also needs the APN that carries XCAP and supplementary-service HTTP. Internet browsing does not share the IMS bearer.
From this point the IMS core sees a normal packet-data session whose anchor is the packet gateway. It does not see the café SSID. That anchor is also why a later move back to LTE can keep the same IMS registration: the application session stays on the gateway while the access leg changes.
Stage 4: Register with IMS
Only now does SIP start.
- The handset discovers the P-CSCF, usually from protocol configuration options returned with the PDN connection.
- It opens a second, inner IPsec association to the P-CSCF, as it does on VoLTE. Signaling is therefore encrypted twice: once to the ePDG, and again to the P-CSCF.
- A SIP REGISTER is sent. The IMS authenticates the user, typically with IMS AKA derived from the same subscriber key, and records the contact.
- The phone may then subscribe to the registration event, fetch supplementary-service data, and indicate Wi-Fi as the access type so charging and emergency logic can tell the accesses apart.
Registration is not a phone call. It is the step that makes the number reachable. It is refreshed on a timer. If the outer tunnel drops, the registration drops with it.
Stage 5: Set up the call itself
An outgoing call is a normal IMS session on that registration.
- The user dials. The handset sends a SIP INVITE toward the P-CSCF, with an SDP offer listing codecs such as EVS or AMR-WB, and the media addresses that will be used inside the tunnel.
- The P-CSCF forwards the INVITE through the serving and interrogating call session control functions. Application servers apply calling identity, barring, voicemail, and other supplementary services.
- The terminating network locates the called party and sends SIP 180 Ringing, then 200 OK with an SDP answer that selects one codec and one media path.
- The caller sends ACK. The session exists.
- RTP media flows both ways inside the SWu tunnel. The ePDG forwards those packets to the packet gateway and onward toward the other party. The other party may be on VoLTE, VoWiFi, a circuit interconnect, or another IP network.
An incoming call reverses the last stage. The network already has a registration contact, so the INVITE arrives through the tunnel and the handset rings. The user does not re-authenticate for each call; the tunnel and the SIP registration are reused until they expire or fail.
| Step | Protocol | Result if it succeeds |
|---|---|---|
| WLAN associate and DHCP/SLAAC | 802.11, IP | A route to the internet |
| ePDG DNS lookup | DNS | Address of the home gateway |
| IKE_SA_INIT | IKEv2 | Encrypted channel and authenticated ePDG |
| EAP-AKA inside IKE_AUTH | IKEv2, EAP-AKA | SIM-proven subscriber |
| Create child SA | IPsec ESP | SWu tunnel |
| IMS PDN request | GTPv2 on S2b | Inner IP and policy anchor |
| SIP REGISTER | SIP over inner IPsec | Number is reachable |
| INVITE, 180, 200, ACK | SIP and SDP | Call is up |
| Speech packets | RTP over UDP | Two-way audio |
What is deliberately not in the path
The Wi-Fi access point does not allocate a voice bearer, mark 802.11 QoS for the operator, or understand SIP. Any WMM priority the handset sets is local and may be ignored. The operator can prioritize only after packets reach the ePDG. Jitter and loss on the subscriber’s broadband therefore show up directly in the call.
Setup time is dominated by tunnel establishment if the device is not already registered. A first call after joining Wi-Fi can take longer than a later call on a live registration, which is why the handset usually attaches as soon as policy selects Wi-Fi rather than waiting for the user to dial.
Where setup commonly stops
- DNS to the ePDG name fails, or the returned address is geoblocked.
- IKEv2 is dropped by a firewall, a hotel portal, or a VPN client that captures UDP.
- EAP-AKA fails because entitlement was never pushed to the device.
- The IMS APN is rejected by policy.
- SIP registration succeeds but the INVITE is barred, or media is one-way because the NAT mapping for RTP expired.
A completed Wi-Fi call is therefore two setups stacked: a SIM-authenticated IPsec attachment into the packet core, then a standard IMS SIP session whose media never leaves that tunnel until it reaches the operator.
3. What travels in the call
Two planes, one tunnel
A live VoWiFi call carries two kinds of traffic, both inside the SWu IPsec tunnel to the ePDG.
- The signaling plane is SIP. It creates, modifies, and ends the session, and it carries supplementary-service events.
- The media plane is RTP. It carries coded speech, and sometimes telephony events such as digits. RTCP rides beside it with quality reports.
SIP between the handset and the P-CSCF is protected by a second, inner IPsec association, as on VoLTE. RTP is not sent to the P-CSCF. It is addressed to the media endpoint named in SDP—an IMS media gateway, a border element, or the other party’s IMS access—and is still encapsulated by the outer tunnel until it reaches the ePDG. On the Wi-Fi hop, an observer sees IPsec (often UDP-encapsulated for NAT), not readable SIP or audio.
What the speech path contains
The handset does not send raw samples. A capture chain runs in each direction.
- The microphone path produces narrowband, wideband, or super-wideband audio, depending on the codec selected.
- A voice codec compresses it into frames of about 20 ms. Operators commonly offer EVS and AMR-WB; AMR-NB remains for interconnect to older networks. The codec is chosen in the SDP offer/answer, not by the Wi-Fi access point.
- Each frame becomes an RTP payload. AMR uses the payload format in RFC 4867; EVS uses its own RTP payload format. A timestamp and sequence number let the receiver reorder and conceal loss.
- RTP is carried in UDP, then in the inner IP packet assigned to the IMS PDN connection.
- That packet is encrypted and encapsulated in ESP, then usually again in UDP so it can cross NAT, and sent to the ePDG.
Silence is still traffic. Discontinuous transmission suppresses most speech frames and sends occasional silence-descriptor frames so the far end can play comfort noise. Those SID packets, plus tunnel keepalives, are why a muted call does not drop to zero bandwidth.
Typical payload rates are small compared with video. AMR-WB commonly runs around 12–24 kbit/s. EVS can sit in a similar band or higher in super-wideband modes. The on-wire rate is several times the codec rate once RTP, UDP, inner IP, ESP, and NAT-T UDP headers are counted, and it rises further if the tunnel is IPv6 or if RTCP is frequent. A stable call still fits comfortably in a few hundred kilobits per second of good uplink; the limiter is jitter and loss, not raw throughput.
| Object in the call | Protocol | What it is for |
|---|---|---|
| Coded speech or SID frame | Codec payload | The audible content |
| Sequence, timestamp, payload type | RTP | Order, playout, codec identification |
| Digit tones after connect | RTP telephone events, or sometimes SIP | DTMF without sending tones in the audio band |
| Loss and jitter reports | RTCP | Adaptation and diagnostics |
| Call state | SIP | Setup, ringing, answer, hold, end |
| Codec and address agreement | SDP inside SIP | Which codec and which media ports |
What the signaling path contains
SIP messages on an active call are small and intermittent.
- INVITE carries the first SDP offer: codecs, packet time, and the address where this handset will receive RTP inside the tunnel.
- Provisional responses, especially 183 Session Progress, can carry an SDP answer and start early media, so progress tones or an announcement may be RTP before the called party answers.
- 180 Ringing and 200 OK mark alerting and answer. ACK completes the three-way handshake.
- Re-INVITE or UPDATE changes the session: hold, resume, codec change, or a handover that updates the media address.
- BYE or a failure response ends it.
- NOTIFY and related subscriptions can carry supplementary-service state such as call waiting.
DTMF is a special case. Modern IMS prefers named telephone events in RTP so digits survive codec compression. Some interconnects still convert those events at a gateway into ordinary tones.
Caller ID, the dialed number, and call state are visible to the operator’s IMS. They are not visible in clear text on the café LAN, because that hop only sees the outer tunnel.
What the Wi-Fi network can and cannot see
On the wireless link the observable flow is:
- Outer IP addresses: the handset’s LAN address, and the ePDG.
- UDP encapsulation for NAT traversal, typically toward port 4500, plus IKEv2 keepalives.
- ESP payloads whose contents are encrypted.
- Packet timing and sizes, which still leak that a real-time flow is present.
It cannot see the codec frames, the SIP identities, or the RTP ports. Quality of service markings set by the handset on Wi-Fi may be ignored by the access point. Differentiated-services markings on the inner packet matter only after the ePDG decapsulates and hands the flow to the packet core. That is why a congested uplink sounds bad even though the codec is identical to VoLTE.
What does not travel in the call
- The other party’s audio in the clear on the local Wi-Fi.
- A separate application stream. The native dialer uses the IMS bearer, not a browser or an over-the-top media path.
- Guaranteed airtime. Nothing in the tunnel reserves the wireless medium.
- End-to-end encryption between the two subscribers. The access leg is encrypted to the operator; the core can still terminate and interconnect the media.
- Video, unless the operator has separately enabled an IMS video session. Ordinary Wi-Fi calling is a voice and messaging service.
A Wi-Fi call is therefore coded speech in RTP, plus a thin SIP session that controls it, all forced through one SIM-authenticated IPsec tunnel until the operator’s core. The Wi-Fi segment carries ciphertext and timing. The IMS segment carries the actual call.
4. How it differs from nearby technologies
The comparison that matters
Wi-Fi calling is not a codec and not a radio feature. It is operator IMS voice reached over untrusted Wi-Fi. Anything nearby either uses that same IMS over a different access, or it is a separate service that only happens to run on the same router.
| Technology | Who authenticates | Voice core | Number the far end sees | Needs a mobile plan |
|---|---|---|---|---|
| VoWiFi | SIM, EAP-AKA | Operator IMS via ePDG or N3IWF | Mobile number | Yes |
| VoLTE | SIM, over LTE | Operator IMS via the radio core | Mobile number | Yes |
| VoNR | SIM, over 5G NR | Operator IMS via the 5G core | Mobile number | Yes |
| OTT app calling | App account | Third-party platform | App identity, not the mobile number | No |
| Hosted business VoIP | Service login or SIP credentials | Enterprise or provider PBX | A business number | No |
| Wi-Fi data offload | None for voice; IP only | None | Not a call | A data path only |
VoLTE and VoNR
VoLTE is the same phone service over the operator’s LTE radio. VoNR is that service over 5G standalone radio. Registration, codecs, supplementary services, and interconnect are IMS in all three cases. EVS or AMR-WB on a Wi-Fi call is not a different product from EVS on VoLTE; the SDP offer is the same family.
The access path is the difference. VoLTE and VoNR cross a network the operator schedules, with bearers and admission control. VoWiFi crosses Wi-Fi and the public internet, so the handset must build an IPsec tunnel to an ePDG or N3IWF before IMS will accept it. The operator cannot reserve airtime on a neighbor’s access point.
Policy usually prefers the licensed radio when it is good enough, and selects Wi-Fi when it is not. Handover between VoLTE and VoWiFi is a designed feature because both sessions can be anchored in the same packet gateway. Handover to an over-the-top app is not. A phone can support VoLTE and still be blocked from Wi-Fi calling: entitlement and device certification are separate.
Circuit-switched fallback is the older opposite of all three. If IMS voice is missing, the handset leaves LTE and places a 2G or 3G call. Wi-Fi calling does not fall back to circuit switch. If the tunnel cannot be built, the call fails or the device tries the cellular IMS path instead.
Over-the-top calling
WhatsApp, FaceTime, Signal, Teams, and similar apps also move voice over Wi-Fi. They are a different service.
- Identity is an application account. The SIM is not the credential, and EAP-AKA is not used.
- Both parties must be on a compatible app, or the call cannot be completed as that service.
- The platform is not the mobile IMS. The operator neither applies call-barring rules nor bills it as a voice minute. It counts as data, which on Wi-Fi often means it counts as nothing on the cellular plan.
- Encryption is end-to-end in several of these apps. Wi-Fi calling encrypts the access leg to the operator; the core can still terminate media.
- There is no carrier handover into VoLTE. Moving from the café to the street drops the app session unless the app reconnects on cellular data.
- Emergency calling, lawful intercept, and number portability follow application and local rules, not the mobile voice obligation attached to the SIM.
A useful test: if the other person can answer on a landline that has never installed the app, the call was Wi-Fi calling or ordinary cellular. If they need the app, it was not.
Business and residential VoIP
Hosted VoIP and a home adapter replace a phone line. They use SIP to a provider that is not the mobile IMS, with their own numbers, auto-attendants, queues, and recordings. Wi-Fi calling has none of that call-control surface. It also cannot be used without the mobile subscription. A desk phone on the same office Wi-Fi is not registered to the ePDG and does not ring when the mobile number is called.
“Wi-Fi calling” on a cordless base station is marketing overlap. Those products are usually fixed VoIP or a Bluetooth handoff from a nearby mobile, not 3GPP VoWiFi.
Wi-Fi data, carrier hotspots, and trusted access
Phones already prefer Wi-Fi for internet traffic when they are associated. That offload does not register the handset in IMS and does not make the mobile number reachable. Turning Wi-Fi calling off leaves browsing unchanged.
Carrier Wi-Fi and Passpoint can authenticate a subscriber to an operator-affiliated hotspot. That is access to data, or in some designs trusted non-3GPP access into the core. Trusted access does not use the same internet-facing ePDG tunnel as ordinary VoWiFi; the trust boundary sits in the access network instead of in an IPsec tunnel from the handset. A café SSID that the operator does not control remains the untrusted case, which is the one sold as Wi-Fi calling.
A VPN client can also break the feature. If it captures the UDP ports used for IKEv2, the ePDG tunnel never forms, even though web traffic through the VPN works.
Older and adjacent cellular designs
Unlicensed Mobile Access, later Generic Access Network, tunneled circuit-switched voice over Wi-Fi into a GAN controller. Some early carrier “Wi-Fi calling” clients were that design. Current VoWiFi is packet voice into IMS, not a circuit call disguised as IP.
SMS over Wi-Fi is adjacent rather than separate on most networks: once the IMS registration exists, text uses the same attachment. RCS can share that registration too, but a rich-messaging session is not the voice call. Visual voicemail and supplementary-service XCAP use another APN inside their own tunnel, not the RTP flow.
How to tell them apart in practice
- Same mobile number, native dialer, works to any phone: VoLTE, VoNR, or VoWiFi.
- Badge mentions Wi-Fi, and the call survives with airplane mode’s cellular radios off but Wi-Fi on: VoWiFi.
- Both people had to open an app: over-the-top.
- The number belongs to a cloud PBX and the desk set rings with the mobile: business VoIP, even if the SSID is identical.
The nearby technologies share a router or a codec. Only VoLTE and VoNR share the service. Wi-Fi calling is that service with the licensed radio replaced by a SIM-authenticated tunnel.
5. Mobility and policy
What is anchored, and what is allowed to change
The packet gateway, not the radio and not the ePDG, holds the IMS PDN connection. On the Wi-Fi leg the handset reaches that gateway through the ePDG over S2b. On LTE it reaches the same gateway through the serving gateway. In a 5G core the equivalent attachment for untrusted Wi-Fi is the N3IWF, with the session still anchored so that IMS does not have to treat Wi-Fi as a new subscriber.
Because the anchor stays put, the inner IP address can survive an access change. IMS then sees one registration whose underlay moved, rather than a new user. That is the architectural reason a call can leave a building and continue on LTE. The café access point is not part of the handover. It only forwards the outer tunnel until the handset drops it.
Access-network mobility inside the building is a different problem. Reassociation between access points, or a brief DHCP renewal, can stall the UDP mapping that carries IKEv2 and ESP. The call drops if that stall outruns jitter buffers and registration timers, even though the IMS anchor never moved.
How a live transfer works
Handover between VoWiFi and VoLTE is an access transfer of an already anchored session, specified along the non-3GPP mobility procedures in TS 23.402 and the IMS continuity work in TS 23.237. It is not a circuit-switch fallback, and it is not SRVCC. SRVCC moves an IMS call onto a legacy circuit radio. A Wi-Fi/LTE transfer stays inside IMS.
The usual outgoing direction, Wi-Fi toward LTE, runs as follows.
- The modem decides the licensed radio is usable again and that policy allows a transfer.
- The handset brings up the LTE IMS PDN to the same packet gateway. If the procedure preserves the inner address, media sockets need not change.
- If the media address or port must change, the handset sends a SIP re-INVITE or UPDATE with a new SDP offer.
- RTP starts on the LTE bearer. The SWu tunnel is released when no IMS flow still needs it.
- The remote end, and any media gateway in between, follows the updated SDP. A short overlap of the two paths hides the switch when both are healthy.
The reverse transfer, LTE toward Wi-Fi, builds the ePDG tunnel first, moves the PDN attachment onto S2b, and only then releases the radio bearer. Until EAP-AKA and the child security association succeed, policy must not move the call.
Transfer quality is an implementation result, not a guarantee. Device firmware, modem configuration, and the operator’s IMS border all have to accept the access change. Some networks complete it in under a second. Others force a new registration, which the user hears as a drop and a reconnect. Mid-call codec renegotiation can happen in the same re-INVITE; it is not required for the access move itself.
| Event | What moves | What should stay |
|---|---|---|
| Wi-Fi AP to Wi-Fi AP | Outer IP path, NAT mapping | IMS registration, if the tunnel survives |
| VoWiFi to VoLTE | Underlay, from SWu/S2b to the LTE bearer | Packet-gateway anchor, call dialog |
| VoLTE to VoWiFi | Underlay, from LTE to a new SWu tunnel | Packet-gateway anchor, call dialog |
| Airplane mode with Wi-Fi left on | Cellular leg drops | Wi-Fi registration, if already entitled |
| Tunnel failure | Registration is lost | Nothing; the call ends unless cellular IMS is already up |
Who decides which access is used
The subscriber toggle is only permission. Selection among available accesses is operator policy executed by the handset.
- The modem scores LTE or NR signal, and often quality, against thresholds delivered in the carrier configuration or modem profile. Those thresholds are not a user setting on most phones.
- If the licensed radio is above the threshold, the usual preference is VoLTE or VoNR. Wi-Fi calling stays idle or registered but unused.
- If the radio falls below the threshold and a tunnel can be maintained, IMS moves to Wi-Fi.
- If only Wi-Fi exists, Wi-Fi is the only IMS path. The badge on the status bar is the visible sign.
- Some devices keep both registrations warm so that transfer is faster. Others tear down the tunnel whenever LTE is preferred, which saves keepalive traffic and slows the next indoor call.
The user cannot normally force Wi-Fi calling while a strong cell is present. Turning cellular data off, or using airplane mode with Wi-Fi restored, is the practical way to test the Wi-Fi path. A VPN that captures UDP 500 or 4500 removes the choice: the ePDG never answers, so policy falls back to cellular or fails the call.
Historical policy servers such as ANDSF could push network-selection rules. Current consumer behavior is dominated by the carrier bundle on the device, entitlement state, and the modem’s threshold logic.
Entitlement: the gate in front of the tunnel
Support on the handset is not the same as permission. Before many devices will even start IKEv2, an entitlement check must succeed. GSMA TS.43 is the profile used for this, especially on phones that will not expose the Wi-Fi-calling switch without a carrier approval.
The check confirms some combination of:
- The SIM and plan are allowed to use Wi-Fi calling.
- The device model and OS build are on that operator’s list.
- An emergency address is on file, where the operator will not enable the feature without one.
- The entitlement server and the handset share a current configuration, including the ePDG identity if it is not left to DNS alone.
A failed entitlement looks like a missing menu item or a toggle that will not stay on. It is not a Wi-Fi fault. An unlocked phone can camp on the network for data and VoLTE and still fail this check, because voice-over-Wi-Fi certification is separate from band support.
Emergency-address capture is policy enforced at enablement, not a step in every RTP packet. Updating it matters when the subscriber moves house or uses the feature mainly from one site. It does not track a phone that is walking between buildings.
Roaming, geography, and tariff policy
The tunnel will happily form over a foreign broadband connection. Whether the operator accepts it is a policy decision enforced at the ePDG, the AAA server, or the IMS.
- Some operators allow registration from abroad and treat calls to home-country numbers as domestic. That is a published tariff, not a property of IKEv2.
- Others reject IKEv2 from foreign source addresses, or allow the tunnel and rate the call as roaming.
- A visited network’s own Wi-Fi calling is a different entitlement. The home SIM does not automatically receive the visited operator’s VoWiFi service.
- Geoblocking can also be incidental: a DNS answer that only resolves on a domestic resolver, or an ePDG certificate and firewall policy aimed at national addresses.
Outbound and inbound are separate. A subscriber abroad may be able to place calls and still miss incoming ones if the home IMS will not refresh the registration through that path. Supplementary services such as call forwarding still apply, because they are IMS features, not Wi-Fi features.
Policy limits that are easy to misread
- Preference for LTE is not a failure of Wi-Fi calling. It is the normal order.
- A successful toggle does not mean every SSID will work. Captive portals and UDP filters still drop the tunnel after entitlement has passed.
- Handover is same-operator IMS continuity. It does not extend into an over-the-top app, a business PBX, or another carrier’s Wi-Fi calling.
- Emergency policy can override the preferred access. An emergency call may be forced to the radio, or to a dedicated emergency ePDG selection, rather than follow the threshold used for ordinary calls.
Mobility in this service is therefore a controlled relocation of one IMS session between a SIM-authenticated tunnel and the licensed radio, allowed only after entitlement, and priced according to operator rules that the protocol itself does not express.
6. Emergency calling
Why this path is a special case
A cellular emergency call is tied to a radio network that already knows a serving cell. On modern IP mobile networks the handset can also supply a device location, and the operator can route on that location. A VoWiFi emergency call has no serving cell. The handset is just an IP client behind someone else’s access point. The public-safety answering point can be chosen correctly only if some other location is available and trusted.
That is why enablement and emergency setup are coupled. Many operators will not turn on Wi-Fi calling until a civic address is stored. The address is a policy input to routing, not a guarantee that the caller is still at that address.
Standards already separate the emergency path from ordinary service. ePDG selection for emergency calls follows its own procedure, so a failure or a policy block on the normal gateway does not have to block the emergency attempt. In the 5G untrusted-access model the same idea applies to emergency entry through the N3IWF. The dialed digits are the local emergency number; the handset and the IMS, not the Wi-Fi router, recognize them.
What location can be attached
Operators and emergency-call platforms generally have three inputs, used in a priority the network defines.
- A registered civic address, captured when Wi-Fi calling was enabled or later updated by the subscriber. In U.S. practice this is the interconnected-VoIP style Registered Location, often checked against a Master Street Address Guide so that it is in a form public safety can dispatch on.
- A device-derived location, expressed as a civic address or as coordinates in a presence document such as PIDF-LO, if the handset can obtain it and the network will accept it for routing.
- A fallback, such as a national emergency call center, when neither of the above is good enough to choose a local answering point.
A positioning element in front of the operator IMS—commonly described as a VoIP positioning center—maps that location to routing instructions and passes location information onward. Cellular cell identity is not available as a substitute. IP-address geolocation of the ePDG, or of the café’s public address, is a poor proxy: the gateway is often in another city, and the NAT address may be a regional broadband pool.
| Location source | What it answers | Where it fails |
|---|---|---|
| Registered civic address | Dispatch to the site the subscriber provisioned | Caller has moved, or the address was never updated |
| Handset GNSS or Wi-Fi positioning | A current fix, if the device and the network both support it | Indoors, permission denied, or the fix is too coarse to route |
| Last cellular cell | Where the phone last saw the radio | Useless in airplane mode, and stale if the phone has moved |
| Source IP of the tunnel | Almost nothing about the room | ePDG and carrier NAT sit far from the caller |
Regulatory shape, mainly the U.S. model
U.S. rules treat this as an emergency-calling obligation with explicit limits, not as ordinary wireless E911.
Interconnected VoIP rules in 47 CFR 9.11 require location with each 911 call, customer notice that the service can be limited, and a registered location for non-fixed use when an automated dispatchable location is not feasible. Routing to a national emergency call center is an allowed fallback. Providers must tell subscribers, in plain language, when 911 may be unavailable or degraded. Wi-Fi calling has been operated under that family of expectations: an address on file, and a warning that the service is not the same as tower-based E911.
Separately, the FCC’s location-based routing rules in 47 CFR 9.10(s) require commercial mobile providers to route wireless 911 voice calls and real-time text on IP networks—4G, 5G, and later—by handset location when that location is available and places the caller within 165 meters at a confidence of at least 90 percent. Nationwide providers were under the voice deployment and routing obligation from 13 November 2024. Absent that fix, they must use the best available alternative, which may be device-based or tower-based. Those rules improve cellular IP calling. They do not invent a precise fix for a Wi-Fi call whose device cannot produce one.
A CSRIC VIII report on 911 over Wi-Fi, in March 2023, framed the operational tests as routing to an appropriate answering point, keeping the caller connected, delivering current location, supporting callback, authenticating the caller, and marking that the call arrived over Wi-Fi. It also noted roaming and foreign-visitor cases as open problems: a visitor’s home ePDG may be in another country, and a domestic answering point may never see the call.
Outside the United States the duty is real and the mechanism differs. European 112 obligations, handset-based Advanced Mobile Location, and national VoLTE or VoWiFi emergency profiles do not copy the U.S. registered-address form. The limitation is the same: without a serving cell, location is only as good as what the device and the home operator can deliver on that attempt.
What the call path does differently
An emergency attempt is not required to follow the indoor-preference threshold used for ordinary calls.
- The handset may prefer a usable cellular radio for the emergency call even when Wi-Fi calling is the normal registration. A cell-based attempt is still the stronger location path.
- If the radio is unavailable and Wi-Fi calling is up, the INVITE is an emergency session. IMS marks it so that barring, charging, and normal policy do not block it.
- The emergency ePDG procedure can bypass the gateway used for everyday calls.
- Callback depends on the registration surviving. If the tunnel drops after the caller hangs up, the answering point may not be able to ring the handset back on that path.
- A call that arrives over Wi-Fi should be identifiable as such, so the call-taker does not treat a registered address as a live tower fix.
Authentication still rests on the SIM if a tunnel can be built. A handset with no SIM, or with entitlement and emergency attachment both failing, cannot invent a VoWiFi emergency call. Wi-Fi alone is not a substitute for the operator path.
Limits that should be assumed
- The answering point may see the provisioned home or office address while the caller is elsewhere.
- Indoor device location may be too coarse for the 165-meter routing test, even when a blue dot looks precise on a map.
- Captive portals, UDP filters, and VPN clients block the emergency tunnel just as they block ordinary Wi-Fi calling.
- International use is the weakest case. The home operator’s emergency machinery may not route into the visited country’s answering points, and the visited network may not accept the home SIM for its own Wi-Fi calling.
- Real-time text and other IP emergency modalities follow the same location problem when they are carried over the Wi-Fi registration.
The practical instruction is unchanged by the architecture. The caller should state the current address, floor, and city in the first seconds, and should not assume the dispatcher already has them. Where a cellular signal exists, a radio emergency call remains the better-located attempt.
Wi-Fi emergency calling is ordinary IMS emergency logic forced through an untrusted tunnel, routed on a registered address or a device fix when one exists, and required to fail safe to a national center or an alternate access when it does not. It extends reach. It does not recreate the location certainty of a serving cell.
7. When it helps, and when it fails
Where it earns its place
Wi-Fi calling is a coverage extension for the existing mobile number, not a second phone system. It is the right tool in a short list of conditions.
- Indoor dead zones. Concrete, low-emissivity glass, basements, and elevator cores can leave a usable macro signal outside and almost none inside. A broadband circuit that does not depend on that building’s penetration fills the gap.
- Rural fringe with fixed internet. A weak or absent outdoor cell plus a working home connection is the classic case. The call rides the landline or fixed-wireless backhaul instead of a marginal radio link.
- Temporary cellular loss, if the broadband path is independent of the failed cell site. A single tower outage does not help if the only internet access was a cellular router on that tower.
- Dense indoor sites where small cells were never deployed: warehouses, hotels, and older offices. Quality then tracks the site’s Wi-Fi design, not the operator’s radio plan.
- Places where the operator’s international policy treats a Wi-Fi registration as a home call. That benefit is tariff-specific. The tunnel forming abroad is not itself a promise of domestic rating.
The gain is reachability of the same number. Contacts, voicemail, and caller ID stay intact, which is the advantage over asking correspondents to switch to an app.
Conditions that have to be true first
The indoor use case still fails if any gate in front of the media is closed.
- Entitlement has succeeded, and an emergency address is stored where the operator requires one.
- The handset build is approved for that operator’s Wi-Fi calling, not merely for LTE data.
- The SSID has a clear path to the internet. A captive portal must already have been completed, and it must not expire mid-call.
- UDP 500 and 4500, plus the encapsulated ESP flow, can reach the ePDG. Web browsing is not a sufficient test.
- Uplink is stable. A few hundred kilobits per second is enough; low jitter matters more than a speed-test peak.
If those hold, codec quality can match VoLTE, because the speech frames are the same EVS or AMR-WB family. The Wi-Fi hop is what decides whether they arrive on time.
How it fails
Failures cluster into discovery, policy, and the realtime path.
| Failure | What the user sees | What actually stopped |
|---|---|---|
| Menu missing or toggle resets | Feature appears unsupported | Entitlement or device certification failed |
| Works on cellular, dead on this Wi-Fi | Immediate failure, or no Wi-Fi badge | Captive portal, firewall, or VPN captured IKEv2 |
| Rings, then one-way audio | Speech in one direction only | NAT mapping or RTP pinning expired inside the tunnel |
| Drop when walking the floor | Call ends at a doorway | AP handoff stalled the UDP keepalive |
| Sounds worse than LTE | Choppy HD voice | Congested uplink or bufferbloat, not the codec |
| Abroad, calls will not complete | Registration never finishes | ePDG geoblock, or roaming policy rejects the source |
| Emergency call routed oddly | Answered, but the location is wrong | Registered address used instead of a live fix |
A VPN is a frequent silent cause. Split tunnels that still grab UDP 500/4500 prevent the ePDG exchange even though ordinary web traffic works. Corporate SSL inspection does not terminate this tunnel; it simply drops what it cannot proxy.
Public Wi-Fi fails more often than home Wi-Fi for structural reasons. Airtime is shared, uplink is oversubscribed, and guest firewalls are written for browsers. Hotel and café networks that block non-HTTP UDP never become a voice access, however strong the signal icon looks.
Borderline cases
Some environments look suitable and still disappoint.
- Mesh systems with aggressive band steering. The outer tunnel survives only if steering does not pause forwarding longer than the jitter buffer and NAT timeout.
- Fixed wireless and satellite backhaul. Capacity may be fine, but latency and jitter buffer interaction can make a call sound worse than a weak LTE signal. Low-Earth-orbit links are often usable; geostationary links are a poor match for interactive voice.
- Wi-Fi calling preferred by a mis-tuned threshold. The handset can cling to a congested SSID while a clean cell is available. The user toggle cannot usually override that score; airplane mode with Wi-Fi restored is the blunt test.
- SMS works, voice does not. Signaling and short messages tolerate loss that RTP cannot. A working text is not evidence that a call will hold.
- Handover at the building edge. The designed transfer to VoLTE helps only if both accesses register to the same IMS and the device completes the move. Otherwise the call drops at the door and must be redialed.
Battery behavior follows the same split. A stable tunnel lets the cellular radio sleep, which often saves power indoors. A tunnel that rekeys and fails every few minutes costs more than staying on LTE.
How to judge a site
A practical test separates the service from the building network.
- Confirm the Wi-Fi badge with cellular radios off, so the call cannot silently use VoLTE.
- Place a two-minute call, not a five-second check. NAT timeouts and steering show up after the first silence.
- Repeat on the uplink-heavy side of the site, far from the access point.
- If the call fails while web browsing works, treat it as a UDP or entitlement fault, not as a broadband-speed fault.
- Restore cellular and confirm whether a live call transfers or drops. That result is a property of the device and the operator, not of the SSID.
Wi-Fi calling helps when the radio cannot reach the building and the broadband path can carry a small, steady, UDP-encapsulated flow to the operator. It fails when policy, a filter, or an unstable uplink removes that flow—even if every other internet application on the same network looks healthy.
8. How a Wi-Fi call is established when the mobile core is 5G and the Wi-Fi entry point is the Non-3GPP Interworking Function (N3IWF)
Where N3IWF sits
Untrusted non-3GPP access is specified in 3GPP TS 23.501 and the registration procedure in TS 23.502 clause 4.12.2. The Wi-Fi network is untrusted because the operator does not control it. The N3IWF is the internet-facing function that terminates the handset’s IKEv2/IPsec tunnel and presents the core with ordinary N2 and N3 interfaces.
| 4G VoWiFi | 5G VoWiFi over N3IWF |
|---|---|
| ePDG | N3IWF |
| SWu IPsec tunnel | NWu IPsec tunnel |
| EAP-AKA inside IKEv2 | EAP-5G inside IKEv2, carrying NAS |
| S2b to the PGW | N2 to the AMF, N3 to the UPF |
| IMS APN | IMS DNN and an S-NSSAI |
| Inner IP from the PGW | UE IP from the PSA UPF |
Trusted Wi-Fi uses a different function, the TNGF. A home or café SSID is the untrusted case, so the handset, not the access point, builds the tunnel.
Stage 1: IP on the WLAN, then find an N3IWF
The handset associates with Wi-Fi and obtains a local IP address. Authentication on that WLAN can be anything, including none. It has no relationship to the 5G subscription.
The UE then selects an N3IWF in its PLMN, as specified in TS 23.501 clause 6.3.6. Selection uses a configured or constructed FQDN, resolved by DNS, in the same family as ePDG discovery. Configuration can prefer an N3IWF that supports the slices the UE needs. A standalone non-public network uses its own N3IWF selection. The access point does not participate.
Stage 2: IKE security association
The UE starts an IKE initial exchange with the N3IWF, per RFC 7296. This creates the IKE security association. After it, every further IKE message is encrypted and integrity-protected. The N3IWF authenticates itself with its certificate. NAT traversal applies on a home router, so the later tunnel is UDP-encapsulated, typically toward port 4500.
Stage 3: EAP-5G and NAS registration
The UE sends IKE_AUTH without an AUTH payload. That omission tells the N3IWF to run EAP, and the method is EAP-5G. NAS messages are carried inside EAP-5G; they are not sent in the clear on Wi-Fi.
The sequence then follows the 5G registration procedure, relayed by the N3IWF:
- The UE sends a Registration Request. The N3IWF selects an AMF and forwards it on N2.
- The AMF authenticates the subscriber, normally with 5G-AKA or EAP-AKA′, using the home AUSF and UDM. The SUCI hides the permanent identity on this first exchange.
- The AMF runs NAS security mode command and establishes a NAS security context.
- The AMF derives the N3IWF key and sends it to the N3IWF over N2.
- EAP-5G completes. The IKE_AUTH exchange finishes, and an IPsec child security association is created for NAS signaling. Later NAS stays on that signaling child SA.
- The AMF returns Registration Accept. The UE is registered over untrusted access.
This is the main departure from the ePDG. A 4G tunnel authenticates the SIM and then asks for a PDN connection. A 5G tunnel carries the full NAS registration to the AMF before any IMS PDU session exists.
Stage 4: IMS PDU session and user-plane child SA
Voice needs a PDU session to the IMS DNN, in the slice the operator uses for IMS.
- The UE sends a PDU Session Establishment Request on the NAS child SA. The AMF involves the SMF.
- The SMF selects a UPF, builds the N3 tunnel, and returns QoS rules, a UE IP address, and P-CSCF addresses in protocol configuration options.
- The N3IWF binds the IMS QoS flow to an IPsec child SA. It may create that child SA with an IKE CREATE_CHILD_SA exchange, carrying the PDU session identity and QoS-flow identifier. Additional child SAs can separate QoS flows later; a voice flow need not share a child SA with best-effort traffic.
- User packets for that flow are ESP-encapsulated on NWu, decapsulated by the N3IWF, and sent on N3 to the UPF.
From the IMS core, the handset is now a UE with an IP address behind a UPF. The café SSID is no longer visible.
Stage 5: IMS registration and the call
The call setup above the PDU session is the same IMS procedure used on VoNR.
- The UE opens a signaling association to the P-CSCF and sends SIP REGISTER. IMS authentication reuses the subscriber key, typically IMS AKA, and SIP to the P-CSCF is protected by its own IPsec association.
- The registration contact is the IMS path over this PDU session. The access type can be marked as non-3GPP so charging and emergency logic can tell it from NR.
- An outgoing call is a SIP INVITE with an SDP offer. Codec negotiation, early media, and RTP proceed as on VoNR. RTP is carried in the user-plane child SA, not on the NAS child SA.
- An incoming call is delivered on the existing registration. The UE does not repeat EAP-5G for each call.
| Step | What is established |
|---|---|
| WLAN association | Local IP, no 5G identity yet |
| IKE_SA_INIT | Encrypted IKE channel, authenticated N3IWF |
| EAP-5G and NAS registration | UE registered to an AMF |
| NAS child SA | Control plane across NWu |
| IMS PDU session | UE IP, P-CSCF, N3 to the UPF |
| User-plane child SA | QoS flow bound to its own IPsec SA |
| SIP REGISTER | Number reachable |
| INVITE and RTP | The call |
Mobility back to NR
Because both accesses register to the same AMF family and anchor user plane in the UPF, the UE can move an IMS session between N3IWF and NR without a new subscription. The transfer updates the access leg and, if the media address changes, the SDP. It is not SRVCC, and it is not available until the second access has completed its own registration. Policy on the handset still decides when Wi-Fi is preferred; the N3IWF does not force the selection.
Emergency calls can use a distinct N3IWF selection and an emergency PDU session so that a failure of the ordinary gateway does not have to block 112. Location is still the weak input: there is no NR cell on this path.
A Wi-Fi call in a 5G core is therefore a 5G registration carried inside EAP-5G over IKEv2, an IMS PDU session bound to an IPsec child SA, and a standard SIP session on top. The N3IWF replaces the ePDG; the AMF and UPF replace the role the packet gateway played in the 4G attach.
9. Requirements in Home WiFi router to use the Wi-Fi calling feature with mobile network of 4g core
What the router is not required to do
Wi-Fi calling does not use the router as a session border controller.
- It does not need a SIP ALG, a VoIP VLAN, or a built-in voice profile.
- It does not need inbound port forwarding. The handset initiates the tunnel, so the NAT mapping is outbound.
- It does not need UPnP, a DMZ host, or a public IPv4 address on the phone.
- It does not need to be the operator’s hardware. Any access point that can pass the tunnel is sufficient.
- It does not need to understand RTP. Speech is inside the tunnel and is opaque to the LAN.
A router that can browse the web can often place a Wi-Fi call with no configuration change. The exceptions are filters, helpers, and undersized uplink.
Traffic that must pass
The handset discovers the ePDG by DNS, then builds IKEv2 and an ESP tunnel. GSMA IR.51 expects NAT traversal, so on a normal home NAT the data path is UDP, not raw ESP.
| Flow | Transport | Direction | Role |
|---|---|---|---|
| ePDG name lookup | DNS, UDP/TCP 53 | Outbound | Finds the gateway |
| IKEv2 | UDP 500 | Outbound | First key exchange, before NAT is detected |
| NAT-T IKEv2 and ESP | UDP 4500 | Outbound | Tunnel and keepalives once NAT is present |
| Raw ESP | IP protocol 50 | Outbound | Used only if there is no NAT; rare on home routers |
| NAT keepalive | Short UDP to 4500 | Outbound, periodic | Stops the router deleting the mapping |
| Visual voicemail on some networks | TCP 143 | Outbound | IMAP to the operator; not the voice bearer |
AT&T’s published LAN guidance matches this set: IPsec pass-through allowed, UDP 500 and 4500 permitted, and TCP 143 permitted for the messaging path that rides with the feature. “Open” in that guidance means do not block the outbound flow. It does not mean create an inbound forward to the phone.
IPsec pass-through, sometimes labeled VPN pass-through, should stay enabled. It lets the router track UDP 500/4500 and, where relevant, protocol 50. Disabling it is a common reason web browsing works and Wi-Fi calling never registers.
Settings that help, and settings that interfere
Leave SIP ALG off. SIP helpers rewrite clear-text SIP and expect to manage RTP ports. Wi-Fi calling does not expose SIP on the LAN; it is inside IPsec. A helper that also inspects UDP 500 and 4500 can still corrupt the exchange. The useful pair is SIP ALG disabled and IPsec pass-through enabled.
MTU should match the access. On ordinary Ethernet and most fibre, 1500 bytes is the right WAN MTU and is what AT&T recommends for this feature. On PPPoE, the line itself only has room for 1492 bytes at the PPP layer; forcing 1500 there fragments or black-holes large certificates and ESP packets. Symptoms are a tunnel that starts and then fails, or one-way audio. If the WAN uses PPPoE, set the router MTU to the value the ISP specifies, commonly 1492 or 1480, rather than copying a 1500 recommendation onto that encapsulation.
Other practical controls:
- Do not put the phone behind a second NAT if the first is already congested or short-lived. Double NAT usually works, but it shortens the time a mapping survives.
- UDP stateful timeouts should be long enough for the handset’s keepalive, or the keepalive must be frequent enough for the router. Mappings that die in 30 seconds drop idle calls. This is rarely exposed in consumer firmware; a current firmware image is the realistic fix.
- Client isolation and guest-network isolation are fine. The phone talks to the internet, not to other LAN hosts.
- A DNS interceptor that answers the ePDG name locally, or a parental filter that blocks the operator’s domains, stops discovery before IKEv2 starts.
- Encrypted DNS is fine if it can still resolve the operator’s ePDG fully qualified domain name.
Radio and capacity, not just ports
The tunnel is only as stable as the airtime and the uplink.
- A few hundred kilobits per second of steady uplink is enough. A speed test that peaks high and then buffers is a worse sign than a modest but flat uplink.
- Bufferbloat on the WAN, not Wi-Fi signal bars, is the usual cause of choppy audio when ports are already open. Smart Queue or CAKE on the bottleneck rate helps if the router offers it.
- WMM should stay on so the handset’s voice queue is not treated as bulk data. The access point still does not reserve airtime for the operator.
- Band steering and fast roaming are acceptable if they do not pause forwarding long enough to kill the UDP mapping. A drop when walking between mesh nodes is a steering problem, not an IMS fault.
- Modem, router, and mesh firmware should be current. Several pass-through bugs are fixed only in later images.
No special SSID, security mode, or 6 GHz capability is required. WPA2 or WPA3 personal is normal. The phone must already have joined the network; a captive portal has no role on a home router and will block the tunnel if one is enabled by mistake.
A minimal working profile
- Outbound DNS, UDP 500, and UDP 4500 allowed; IPsec pass-through on.
- SIP ALG off.
- WAN MTU correct for the access, 1500 except where PPPoE or a tunnel forces lower.
- No inbound forward, no DMZ, and no VPN client on the router that captures all UDP.
- Enough quiet uplink that a two-minute call does not hit a full buffer.
If browsing works and the Wi-Fi-calling badge never appears, the next check is UDP 500/4500 and the ePDG name, not signal strength. If the badge appears and audio breaks up, the next check is uplink bufferbloat and mesh roaming, not a missing port forward.
10. What a home router must allow when Wi-Fi calling enters a 5G core through the N3IWF
What does not change
NWu, the interface from the handset to the N3IWF, is IKEv2 and IPsec in tunnel mode, as specified for untrusted non-3GPP access in TS 23.502 and TS 24.502. On a home NAT it uses the same traversal pattern as the 4G SWu path.
- The phone initiates the tunnel. No inbound port forward, DMZ, or public address on the handset is required.
- Discovery is DNS. The router must resolve the operator’s N3IWF FQDN and must not answer it from a captive or filtered resolver.
- IKE initial exchange uses UDP 500. After NAT is detected, IKE and ESP move to UDP 4500. Short UDP keepalives refresh that mapping.
- Raw ESP, IP protocol 50, appears only if there is no NAT. A normal home router will not see it.
- IPsec pass-through stays enabled. SIP ALG stays disabled. A SIP helper cannot see the IMS signaling and can still damage UDP 500/4500 if it inspects those ports.
- WAN MTU stays matched to the access: 1500 on ordinary Ethernet, commonly 1492 on PPPoE. Large IKE_AUTH messages, which now carry EAP-5G and NAS, are more sensitive to a wrong MTU than a small keepalive.
- Uplink stability matters more than peak speed. A few hundred kilobits per second of unbuffered uplink is enough for the voice child SA.
A router that already passes 4G Wi-Fi calling will normally pass an N3IWF registration without a new port rule.
What the 5G tunnel adds for the NAT
The extra requirements are about how many security associations the NAT must track, not about new voice protocols.
| Flow | Transport | Why it exists on N3IWF |
|---|---|---|
| N3IWF lookup | DNS | UE selection of an N3IWF in the PLMN |
| IKE_SA_INIT | UDP 500 | First IKE security association |
| NAT-T IKE and ESP | UDP 4500 | Signaling and user-plane child SAs behind NAT |
| NAS child SA | ESP inside UDP 4500 | Registration, authentication, and later NAS |
| User-plane child SA | Another ESP SA inside the same UDP mapping | IMS PDU session, then RTP |
| Further child SAs | More ESP SAs | Separate QoS flows, if the N3IWF binds them that way |
| MOBIKE update | IKEv2 on the existing ports | UE address change without a full re-register |
The NAS child SA and the IMS user-plane child SA share the UDP 4500 mapping created for that N3IWF. A NAT that allows only one IPsec session, or that drops additional ESP security associations, can complete registration and then fail the PDU session. The symptom is a 5G registration that never becomes a Wi-Fi call. Consumer IPsec pass-through usually tracks this; a firewall limited to a single VPN client sometimes does not.
MOBIKE matters on mesh systems. If band steering or a second access point changes the phone’s local address, IKEv2 can update the outer address instead of building a new tunnel. The router must allow that update on the existing mapping. A hard timeout of the UDP flow at the moment of the roam still drops the call.
Later 3GPP releases allow TCP encapsulation of IKE and ESP, typically on TCP 4500, for networks that block UDP. Treat that as optional interoperability, not the home baseline. A residential router should be judged on UDP 500 and 4500. Opening TCP 4500 inbound is still unnecessary.
Settings that stay wrong on 5G
- Enabling SIP ALG, or forwarding SIP ports, does not help the N3IWF path.
- A VPN client on the router that captures all UDP prevents both ePDG and N3IWF discovery.
- Guest isolation is acceptable. The phone does not need to reach other LAN devices.
- QoS on the access point can only prefer the outer UDP flow. It cannot see the QoS-flow identifier inside the child SA, and it cannot reserve licensed-radio-style capacity.
- Double NAT still usually works, and still fails first when the inner router’s UDP timeout is shorter than the handset keepalive.
Working profile for an N3IWF call
- Outbound DNS, UDP 500, and UDP 4500 permitted, with IPsec pass-through on and able to track more than one child SA.
- SIP ALG off.
- WAN MTU correct for the access, so EAP-5G messages inside IKE_AUTH are not black-holed.
- UDP mapping lifetime longer than the NAS and NAT keepalives, including across a mesh roam.
- No inbound forward and no router-wide VPN that owns those UDP ports.
The home router’s job does not become 5G-aware when the core replaces the ePDG with an N3IWF. It must pass one outbound, NAT-traversed IKEv2 session that then carries a NAS child SA and at least one user-plane child SA. If 4G Wi-Fi calling already works on that router, the 5G failure to look for is a NAT that will not hold the additional child SA, not a missing SIP setting.
11. Comparing the IPv4 and IPv6 Wi-Fi Calling
What does not change
IPv4 and IPv6 are outer transports. Inside a completed tunnel the registration is still SIM-authenticated IMS voice: EAP-AKA toward an ePDG, or EAP-5G and NAS toward an N3IWF, then a SIP session and RTP. The far end does not learn which family carried the tunnel. Codecs, the mobile number, domestic billing, and emergency-location limits are properties of the operator service, not of the LAN address family.
The inner IMS address, assigned by the PGW or the UPF, is also independent. A phone can use IPv6 on Wi-Fi and still receive an IPv4 address inside the IMS PDU session, or the reverse. The home router never routes that inner address.
Side-by-side path
| Item | IPv4 Wi-Fi calling | IPv6 Wi-Fi calling |
|---|---|---|
| Gateway discovery | A record for the ePDG or N3IWF FQDN | AAAA record for the same name |
| First IKE exchange | UDP 500 | UDP 500 |
| Typical home encapsulation | UDP 4500 after NAT detection; ESP inside UDP | Native ESP, IP protocol 50, if there is no NAT |
| When UDP 4500 appears | Almost always, because the LAN sits behind NAT or CGN | Only if the path rewrites addresses or ports, or the phone chooses encapsulation |
| NAT traversal required by IR.51 | Yes, for IPv4 | Not implied by the IPv4 NAT-T rule |
| Identity on the outer packet | Private LAN address, then a shared public address | Global unicast address of the handset, if the prefix is delegated |
| What a café observer sees | UDP to the gateway, usually port 4500 | ESP, or UDP 500/4500 if encapsulation is on |
| MTU failure signal | ICMP Fragmentation Needed | ICMPv6 Packet Too Big |
| IPv6-only plus NAT64 | Not applicable | Unreliable; IKE and ESP do not traverse NAT64 cleanly |
| Inbound forward on the router | Not required | Not required |
Encapsulation
On IPv4 the handset expects a NAT. It sends IKE_SA_INIT to UDP 500, sees the translated source, and then sends both IKE and ESP to UDP 4500. That single UDP mapping carries the signaling child SA and the IMS user-plane child SA. Keepalives exist only to stop the router deleting the mapping.
On native IPv6 there is often nothing to translate. IKEv2 can stay on UDP 500, and the tunnel can be raw ESP to the N3IWF or ePDG. Port 4500 is then unused. A firewall written from the IPv4 recipe—“allow 4500, drop everything else”—fails this path even though the same phone works on IPv4.
If an IPv6 firewall or NPTv6 rewrites the flow, the phone detects NAT and falls back to UDP encapsulation. Behavior then matches the IPv4 column, with ICMPv6 still required for path MTU.
Discovery and broken translators
Dual-stack is the forgiving case. The phone uses whichever address the operator published. An A-only gateway is reached over IPv4 even on an IPv6 LAN. An AAAA-only gateway requires a working IPv6 path; IPv4 browsing does not prove it.
NAT64 with DNS64 is the sharp failure. The synthesised AAAA points at a translator, not at the N3IWF. IKEv2 and ESP do not cross that translator reliably, so the badge never appears while ordinary web traffic works. A real A record, or a real AAAA on the gateway, is the fix. A more open NAT64 prefix is not.
Privacy, CGN, and policy
IPv4 hides the handset behind the home NAT and, on many fibre lines, behind carrier-grade NAT as well. Several subscribers share a public address. Operators that geoblock or rate-limit by source address can collide those subscribers, and a CGN mapping timeout can drop a quiet tunnel even when the home router’s timer is long enough.
IPv6 gives the handset a global address. The operator sees a stable prefix rather than a shared CGN pool, which makes a foreign-roaming policy easier to apply and removes one NAT timer. It also means the LAN firewall must default to blocking unsolicited inbound IPv6. That default does not interfere with Wi-Fi calling, because the phone opens the tunnel.
Neither family encrypts the call by itself. Encryption is the IPsec tunnel to the operator. IPv6 does not make the call end-to-end encrypted, and IPv4 NAT does not add privacy inside the core.
Router profile, compared
- IPv4: outbound UDP 500 and 4500, IPsec pass-through on, SIP ALG off, MTU correct, UDP state longer than the keepalive.
- IPv6: outbound UDP 500 and ESP protocol 50, UDP 4500 as a fallback, ICMPv6 Packet Too Big allowed, no DNS64 unless the gateway itself is IPv6, same MTU rule on PPPoE.
- Both: no inbound forward, no router VPN capturing those flows, enough quiet uplink for the RTP child SA.
IPv4 Wi-Fi calling is a NAT-traversed UDP tunnel. IPv6 Wi-Fi calling is the same IMS session over native ESP when the prefix is global, and the same UDP tunnel only when something on the path still translates. Dual-stack covers an operator that publishes only one of the two records. IPv6-only does not, unless that operator’s ePDG or N3IWF has a real IPv6 address.
12. What IPv6 requires of a home router for Wi-Fi calling
Two IPv6 layers
There are two addresses in this path, and only one of them is the router’s problem.
- The outer address is the handset’s LAN address, used to reach the ePDG or N3IWF. That address may be IPv4, IPv6, or both.
- The inner address is assigned by the packet gateway or the UPF to the IMS PDN or PDU session. It is chosen by the mobile core and is hidden inside IPsec. The home router never routes it and does not need an IMS APN or DNN setting.
A working IPv6 LAN is neither necessary nor sufficient. The phone must be able to complete IKEv2 to the operator gateway in at least one address family that the gateway actually publishes.
What the router must pass
| Path | What a dual-stack or IPv6 LAN must allow | What it must not do |
|---|---|---|
| Discovery | AAAA lookups for the ePDG or N3IWF name, and A lookups if the phone is dual-stack | DNS64 answers that invent an AAAA for an IPv4-only gateway |
| No NAT on IPv6 | Outbound UDP 500 to the gateway, and outbound ESP (IP protocol 50) if the phone sends native ESP | A stateful filter that allows UDP and drops protocol 50 |
| NAT66 or a firewall that rewrites ports | UDP 4500 as well, because the phone will detect NAT and encapsulate | Blocking 4500 on the assumption that IPv6 never needs NAT traversal |
| Path MTU | ICMPv6 Packet Too Big in both directions | Filtering all ICMPv6 |
| Keepalives | The UDP mapping, if UDP encapsulation is in use, held open for the handset timer | A short IPv6 firewall state timeout |
On a native IPv6 path with no address translation, IKEv2 stays on UDP 500 and the tunnel can be raw ESP. That is the main difference from the IPv4 home case, where NAT detection moves the flow to UDP 4500. GSMA IR.51 requires NAT traversal for IPv4; it does not mean an IPv6 path must use port 4500. A router that permits only 4500, and drops 500 and protocol 50, will fail a native IPv6 registration.
ICMPv6 Packet Too Big is mandatory for this tunnel. IKE_AUTH on the N3IWF path carries EAP-5G and NAS and can exceed the minimum IPv6 MTU if an intermediate link is smaller. If the router or the ISP drops Packet Too Big, the exchange stalls after IKE_SA_INIT. Browsing can still look normal because TCP recovers differently.
Address families the phone will actually use
Dual-stack is the robust home configuration. The handset tries the gateway addresses returned for its PLMN. If the operator publishes only A records, the phone uses IPv4 even on an IPv6-capable LAN. If it publishes AAAA records, a native IPv6 attempt is valid and preferable when the ISP’s IPv4 path is carrier-grade NAT.
IPv6-only with NAT64 is the case that breaks Wi-Fi calling. DNS64 can synthesize an AAAA for an IPv4-only ePDG or N3IWF, and the CLAT on the phone or the NAT64 on the router then tries to translate IKEv2. ESP and IKE do not traverse NAT64 reliably. The practical result is that web and video work and the Wi-Fi Calling badge never appears. The fix is a real IPv4 path or a gateway that has its own IPv6 address, not a more permissive NAT64 prefix.
NPTv6 and a second IPv6 NAT are uncommon on home routers and should be left off. They force UDP encapsulation without any benefit for this service.
A sound IPv6 profile
- Dual-stack on the LAN, with working A and AAAA resolution and no DNS64 unless the operator gateway is known to be IPv6-reachable.
- Outbound UDP 500, UDP 4500, and ESP protocol 50 permitted toward the internet.
- ICMPv6 Packet Too Big allowed, and WAN MTU correct for Ethernet or PPPoE.
- IPsec pass-through enabled for the IPv4 path; SIP ALG still off.
- IPv6 firewall state held at least as long as the handset’s keepalive if UDP encapsulation is in use.
IPv6 is an outer-transport option for the same NWu or SWu tunnel. The router requirement is to carry whichever family the gateway publishes, including native ESP and ICMPv6 on IPv6, and not to hide an IPv4-only gateway behind NAT64.