New live batch5G Core & 5G CNF Deployment - weekend live batchStarts Sun 6 Dec 2026IMS, VoLTE and VoNREnrol now →
5G Core, IMS and 4G LTE Training For Telecom Engineers+916306686763trainings@solexnetworksolutions.inWhatsApp

Insights / IMS & Voice

IMS & Voice

IMS Registration Call Flow Step by Step: SIP, AKA, Cx and Rx

The complete IMS registration call flow: REGISTER, UAR, MAR, 401 challenge, IPsec, SAR, 200 OK, Rx AAR, third-party registration and the reg event, with diagrams.

Browse all articles
IMS Registration Call Flow Step by Step: SIP, AKA, Cx and Rx

Before a VoLTE phone can make a single call, it must register with the IMS core. Registration authenticates the subscriber, assigns an S-CSCF, downloads the service profile, sets up IPsec between the UE and the P-CSCF, and prepares the network for SRVCC. This Solex Network Solutions guide walks through the whole IMS registration call flow, message by message, and what each node is checking.

IMS registration over LTE: SIP, Cx and Rx

The nodes involved

  • UE - holds the ISIM (or USIM) with the private identity (IMPI) and public identities (IMPU).
  • P-CSCF - first point of contact, reached over the IMS APN. Usually part of an access SBC, often with the ATCF for eSRVCC.
  • I-CSCF - entry point of the home network; asks the HSS which S-CSCF to use.
  • S-CSCF - the registrar; authenticates the user and applies the service profile.
  • HSS - stores identities, authentication data and service profiles; answers Cx.
  • PCRF - receives the P-CSCF's request to watch the signalling bearer (Rx).
  • TAS - telephony application server, reached by third-party registration.

Before IMS registration starts, the UE has completed LTE attach and has a PDN connection to the IMS APN with a default bearer (QCI 5 for SIP signalling). The P-CSCF address was delivered in the PCO of the IMS PDN connection.

Step by step

1-2. First REGISTER

The UE sends REGISTER to the P-CSCF over the Gm interface. It carries the IMPU in To/From, the IMPI in the Authorization header (without credentials), and a Security-Client header listing the IPsec algorithms and the UE's ports and SPIs.

The P-CSCF finds the I-CSCF of the home domain with DNS (NAPTR, SRV, then A/AAAA on the domain in the Request-URI) and forwards the REGISTER over Mw. If eSRVCC is deployed, the ATCF co-located with the P-CSCF adds its STN-SR with an ATCF capability indication, so the SCC-AS later knows that this registration is anchored in an ATCF.

3-4. UAR / UAA - is the user known, and which S-CSCF?

The I-CSCF sends a Cx User-Authorization-Request to the HSS. Public-Identity carries the IMPU, User-Name the IMPI. The HSS checks that the identities exist and belong together, and that the user may register from this visited network.

For an initial registration the UAA returns 2001 DIAMETER_FIRST_REGISTRATION with Server-Capabilities; the I-CSCF uses them to select an S-CSCF and forwards the REGISTER.

5-6. MAR / MAA - get an authentication vector

The S-CSCF sends a Cx Multimedia-Auth-Request. SIP-Auth-Data-Item gives the scheme (Digest-AKAv1-MD5 or Digest-AKAv2-MD5 for IMS AKA) and SIP-Number-Auth-Items the number of vectors. The MAA returns:

  • SIP-Authenticate - RAND and AUTN, the challenge.
  • SIP-Authorization - XRES, the expected response.
  • Confidentiality-Key (CK) and Integrity-Key (IK) - used to protect the link between the UE and the P-CSCF.

7-8. 401 Unauthorized - the challenge

The S-CSCF answers the REGISTER with 401 Unauthorized. The WWW-Authenticate header carries RAND and AUTN. On the way back the P-CSCF takes CK and IK out of the 401 (they must never reach the UE over the air), adds its Security-Server header, and forwards the challenge to the UE.

The UE checks AUTN (which proves the network is genuine), computes RES on the ISIM, and derives CK and IK itself. Both sides now set up the IPsec security associations defined in TS 33.203.

9-12. Second REGISTER over IPsec

The UE sends a new REGISTER on the protected port, with RES in the Authorization header and a Security-Verify header. Everything from here on is integrity protected between the UE and the P-CSCF.

The I-CSCF sends UAR again. This time the UAA returns 2002 DIAMETER_SUBSEQUENT_REGISTRATION and Server-Name, so the REGISTER reaches the same S-CSCF that issued the challenge. The S-CSCF compares RES with XRES; if they match, the user is authenticated.

13-14. SAR / SAA - assign the S-CSCF and download the profile

The S-CSCF sends a Cx Server-Assignment-Request with Server-Assignment-Type REGISTRATION and its own Server-Name. The HSS stores the S-CSCF name against the IMPU and returns User-Data: the service profile with the implicit registration set, and the initial filter criteria (iFC) that decide which application servers are triggered for originating and terminating sessions.

15-16. 200 OK

The S-CSCF answers 200 OK with:

  • Service-Route - the S-CSCF address the UE must use for every request it originates.
  • P-Associated-URI - all public identities of the implicit registration set (SIP URI and tel URI).
  • Path handling - so terminating requests reach the UE through the same P-CSCF.

17-18. Rx AAR - watch the signalling bearer

Once registration succeeds, the P-CSCF sends an Rx AA-Request to the PCRF with AF-Signalling-Protocol SIP and Specific-Action set to INDICATION_OF_LOSS_OF_BEARER and INDICATION_OF_RELEASE_OF_BEARER. If the IMS signalling bearer is lost, the PCRF tells the P-CSCF with a RAR, and the P-CSCF can clean up the registration.

19-20. Third-party registration to the TAS

The S-CSCF evaluates the iFC for REGISTER and sends a third-party REGISTER to the TAS (and any other AS that needs it). The TAS reads the subscriber's service data from the HSS over Sh (UDR for RepositoryData and MSISDN) and subscribes to changes (SNR).

21-22. Subscription to the registration event

Finally the UE sends SUBSCRIBE for the reg event package. The S-CSCF answers 200 OK and a NOTIFY with the registration state of every IMPU. If the network later deregisters the user, the UE learns it from a NOTIFY on this subscription.

Re-registration and deregistration

  • Re-registration happens before the Expires time runs out (typically 600 000 seconds offered, often shortened by the network). It reuses the IPsec SAs and is usually authenticated again.
  • UE deregistration is a REGISTER with Expires: 0. The S-CSCF sends SAR with USER_DEREGISTRATION.
  • Network deregistration comes from the HSS (RTR) or the S-CSCF, and the UE is told with a NOTIFY on the reg event.

Where registration fails

Our separate guide on IMS and SBC troubleshooting maps every common error code to the node that produced it. In short:

  • 494 Security Agreement Required - the IPsec / Security-Client negotiation failed at the P-CSCF.
  • 403 Forbidden - RES did not match XRES, the domain is not served, or the identities do not match.
  • 404 Not Found - the user is not provisioned in the HSS (Cx 5001 USER_UNKNOWN), or DNS sent the request to the wrong I-CSCF.
  • 480 / 500 - Cx unreachable or an internal S-CSCF / HSS error.

Registration is taught end to end, with live traces from our own IMS core, in the Solex Network Solutions IMS, VoLTE and VoNR course. For the Diameter side in depth, read Cx, Sh and Rx call flows.

Written by

Solex Network Solutions

Solex Network Solutions provides 5G Core, IMS VoLTE/VoNR, 4G LTE and private 5G training in India, along with core network products for labs, R&D teams and enterprises.

Learn this hands-on

IMS, VoLTE and VoNR

The IMS core from registration to release: P-CSCF, I-CSCF, S-CSCF, TAS and the SIP and Diameter that binds them, plus VoLTE and VoNR end to end.

View course Ask a question

Related articles

Discussion

No comments yet. Start the discussion - questions are welcome.

Leave a comment