Description
The Spending-Status-Notification-Answer (SNA) is a critical Diameter command within the 3GPP Ro reference point, which is used for online credit control. It operates as part of the Diameter Credit-Control Application (DCCA) as defined in IETF RFC 4006, but with 3GPP-specific extensions and AVPs (Attribute-Value Pairs). This message is the response from the Online Charging System (OCS) to a network element acting as a Charging Trigger Function (CTF), such as a Policy and Charging Rules Function (PCRF) or an application server, which had previously sent a Spending-Status-Notification-Request (SNR).
The architecture involves the CTF detecting a service event that requires credit authorization (e.g., initiating a data session, an IMS voice call, or an application service). The CTF formulates an SNR message containing details like the subscriber's identity, requested service, and requested service units. This is sent to the OCS via the Ro interface. The OCS then processes this request: it queries the subscriber's account balance, applies relevant tariff and policy rules, and makes a credit control decision. The SNA message is the vessel for this decision. It contains a Result-Code AVP indicating success or failure (e.g., DIAMETER_SUCCESS, DIAMETER_CREDIT_LIMIT_REACHED) and, if successful, includes a Granted-Service-Unit AVP specifying the amount of quota (time, volume, or money) granted for the service.
How it works is inherently stateful. The OCS maintains a credit control session for the subscriber. The SNA message may instruct the CTF to continue the service, terminate it, or trigger a re-authorization after the granted units are consumed. It can also include AVPs for redirecting the subscriber to a top-up portal, indicating the validity time of the quota, or providing information about remaining balances. The SNA is thus the central mechanism for real-time, policy-driven service authorization and spending control in prepaid and hybrid billing scenarios, enabling services like data boost packs, spend limit controls, and real-time notifications.
Purpose & Motivation
The SNA message was created to fulfill the requirements of sophisticated Online Charging Systems (OCS) in 3GPP networks. Traditional offline charging (postpaid) could not support real-time prepaid services or spending controls. The SNA, as part of the Ro interface protocol, solves the problem of real-time authorization and quota management. It allows network operators to offer prepaid services for voice, SMS, and data with immediate control, preventing revenue leakage and enabling advanced features like fair usage policies and service differentiation.
Historically, before standardized online charging interfaces, vendors implemented proprietary protocols, leading to interoperability issues and stifling innovation. The standardization of the Ro interface and the SNA command in 3GPP Release 5 provided a uniform way for any network function (GGSN, P-CSCF, AS) to request and receive credit decisions from any compliant OCS. This addressed the limitations of fragmented, vendor-locked solutions. It motivated the creation of a vibrant ecosystem of charging systems and network elements, enabling complex service bundles, real-time balance checks, and seamless integration with IMS and later 5G service-based architectures. The SNA is a key enabler for the commercial models that define modern mobile services.
Key Features
- Diameter command (code 8388636) used on the Ro reference point
- Carries the OCS's credit authorization decision (grant/deny/redirect)
- Includes Granted-Service-Unit AVP for quota allocation (time, volume)
- Supports result codes for success, credit limit reached, and other failures
- Enables real-time, session-based spending control for prepaid services
- Integral part of the 3GPP Online Charging System (OCS) architecture
Evolution Across Releases
The Spending-Status-Notification-Answer was initially introduced as part of the Online Charging System (OCS) and the Ro reference point specification. It defined the basic Diameter-based protocol for real-time credit control, enabling network functions to query the OCS and receive authorized quotas for prepaid services in UMTS and IMS networks.
Defining Specifications
| Specification | Title |
|---|---|
| TS 23.009 | 3GPP TS 23.009 |
| TS 23.700 | 3GPP TS 23.700 |
| TS 23.851 | 3GPP TS 23.851 |
| TS 25.401 | 3GPP TS 25.401 |
| TS 25.410 | 3GPP TS 25.410 |
| TS 25.413 | 3GPP TS 25.413 |
| TS 25.423 | 3GPP TS 25.423 |
| TS 29.213 | 3GPP TS 29.213 |
| TS 29.219 | 3GPP TS 29.219 |