For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Session Management Controller 3.12, an older release. The newest release is 3.17. Go to 3.17

AAA and charging traffic

AAA and charging operations are related, but current standards do not enforce any particular order for one message in one interface relative to the messages in the other interfaces. The following sections describe the specific constraints of the standards, the design decisions taken in this product, and the conditions that peers in AAA and charging interfaces should expect from SMC.

Relative ordering of AAA and charging operations during session termination

The 3GPP TS defining Gy, Rf, and SGi (NAS) interfaces do not impose any request ordering among these interfaces, apart from general common sense situations. For example, authentication blocks all other requests, OCS is asked for credit, and only then can the data session and offline charging be initiated. Specifically, the relative ordering of the interfaces after the data session has ended is not described. Peers of these different interfaces are responsible for coordinating among themselves if needed.

The full sequence for an ASR-triggered session termination from the SMC perspective is shown in the diagram below:

Ordering of Diameter NASREQ (AAA) messages during session abort

During a NASREQ abort session scenario, SMC answers ASR from the NAS server with an ASA message. Since the session ended, SMC must also send an STR message to NAS. The authorization state machine in RFC6733Opens in a new tab includes the following relevant transition:

SMC first returns ASA before sending STR.

Note

A NAS cannot consider a session terminated until both the STR message and the ASA response have been received.

The following figure reflects the ordering of these messages.

Ordering of Diameter Gy messages during session abort

During a Gy abort session scenario, SMC answers ASR from the OCS server with an ASA message. Since the session has ended, SMC must also send a CCR-Terminate (CCR-T) message to OCS. This is a deviation from RFC6733; usually, STR must be sent, but according to 3GPP TS 32.251 section 5.3.2.2.1Opens in a new tab a CCR-Terminate is sent instead.

SMC first returns ASA before sending CCR-T.

Note

An OCS cannot consider a session terminated until both the CCR-T message and the ASA response have been received.

The following figure reflects the ordering of these messages.