2022 Mobile Core and IMS · intermediate

Tracing an IMS REGISTER Showed Me Where SIP Meets Diameter

An IMS registration capture connected familiar SIP REGISTER messages with the less visible Diameter exchanges used to select and authorize serving functions.

Lab Note. Reconstructed in 2026 as a technical lab note from the 2022 mobile-core and IMS study period. The archive date indicates the period covered; the current site publication date is shown separately.

IMS registration became much easier to understand when I stopped reading the SIP and Diameter captures separately. From the UE side, the process starts with a familiar SIP REGISTER. Inside the home network, however, the CSCFs also need subscriber and serving information, and that is where Diameter enters the path.

The REGISTER first reaches the P-CSCF and is forwarded toward the home IMS domain. The I-CSCF participates in finding an appropriate S-CSCF, and the HSS contributes subscriber information through the Cx interface. The exact message sequence depends on registration state and implementation, but the important architectural point is that SIP carries the user-facing registration while Diameter supports the network's internal subscriber and serving decisions.

A capture makes the boundary visible. The SIP transaction may pause while the network performs Diameter queries and authentication-related work. If the HSS cannot be reached or the Diameter application is not working, the symptom at the UE may simply be a failed or delayed SIP registration. Looking only at the SIP trace can therefore hide the actual cause.

I began correlating the two sides by time and subscriber identity. When a REGISTER arrived, I checked which Diameter requests appeared immediately afterward, which peer handled them, and what result code came back. That was much more effective than reading hundreds of packets in order.

Authentication challenges also look familiar at the SIP layer while depending on mobile subscriber credentials and IMS-specific procedures underneath. The presence of a 401 response is not itself evidence of failure; as with ordinary SIP digest, a challenge can be part of the normal registration flow. The useful question is whether the UE can produce the expected response and whether the serving network accepts it.

This lab was where IMS stopped feeling like two unrelated protocol families glued together. SIP handles session signalling toward the user and between IMS signalling functions. Diameter handles a different class of control-plane exchange between network functions. A single registration procedure can depend on both.

That changed my debugging order. I no longer asked only whether REGISTER received 200 OK. I checked the P-CSCF path, CSCF selection, Diameter peer health, subscriber state and the authentication exchange. The end result is still a registered SIP user, but the machinery behind that registration is much richer than a standalone PBX.

Quick navigationEsc