Supported Attributes in Accounting Stop Messages
The following tables indicate how the MobileNext Broadband Gateway processes RADIUS attributes and 3GPP VSAs in RADIUS Accounting Stop messages. An Accounting Stop message is sent by the broadband gateway when it receives a Delete PDP Context Request message (provided a RADIUS Accounting Start message had been sent previously). It indicates the termination of this particular user session.
RADIUS IETF Attributes Supported in Accounting Stop Messages
Table 1 lists the RADIUS attributes supported by the broadband gateway in Accounting Stop messages.
Table 1: RADIUS IETF Attributes Supported in Accounting Stop Messages
Attribute Number | Attribute Name | Description | Content |
---|---|---|---|
1 | User-Name | The username provided to the broadband gateway by the user in the Protocol Configuration Options (PCO) received during the IP-CAN session establishment procedure. If the PPP PDP type is used, it is provided to the broadband gateway by the user during the PPP authentication phase. If no username is available, then the option specified for the user-name parameter in the anonymous-user statement of the APN configuration is used instead. If a value for the User-Name attribute was received in the Access-Accept message, it takes precedence over any other value for the username. | String |
4 | NAS-IP-Address | IPv4 address of the broadband gateway for communication with the RADIUS server. | IPv4 address |
6 | Service-Type | Type of service the user has requested or the type of service to be provided. | Value indicating the service type, as specified in RFC 2865 |
7 | Framed-Protocol | Type of protocol for the user. | Value indicating the protocol, as specified in RFC 2865 |
25 | Class | Unmodified identifier received in the Access-Accept message. | String |
30 | Called-Station-Id | Identifier for the target network (APN). | APN (UTF-8 encoded characters) |
31 | Calling-Station-ID | Identifier for the mobile station (MS), configurable on a per-APN basis. | MSISDN in international format, UTF-8 encoded decimal characters. |
32 | NAS-Identifier | Identifier of the NAS originating the request. | String |
40 | Acct-Status-Type | Type of accounting message. | Integer |
41 | Acct-Delay-Time | Number of seconds the broadband gateway has been trying to send this accounting record. | 32-bit unsigned integer |
42 | Acct-Input-Octets | Number of octets sent by the user for the IP-CAN bearer. | 32-bit unsigned integer |
43 | Acct-Output-Octets | Number of octets received by the user for the IP-CAN bearer. | 32-bit unsigned integer |
44 | Acct-Session-ID | User Session identifier, unique for every bearer under the session. | Broadband gateway Gn IP address (IPv4 or IPv6) and Charging-ID, concatenated in a UTF-8-encoded hexadecimal value |
45 | Acct-Authentic | Method by which user was authenticated: whether by RADIUS, the NAS itself, or another remote authentication protocol. | Integer: 1 - RADIUS 2 - Local 3 - Remote |
46 | Acct-Session-Time | Duration of the session, in seconds. | Integer |
47 | Acct-Input-Packets | Number of packets sent by the user. | Integer |
48 | Acct-Output-Packets | Number of packets received by the user. | Integer |
49 | Acct-Terminate-Cause | Reason the session was terminated. The session can be terminated for the following reasons:
| Integer |
52 | Acct-Input-Gigawords | How many times the Acct-Input-Octets counter has wrapped around 2^32 over the course of this PDP session. | 32-bit unsigned integer |
53 | Acct-Output-Gigawords | How many times the Acct-Output-Octets counter has wrapped around 2^32 over the course of this PDP session. | 32-bit unsigned integer |
55 | Event-Timestamp | Time that this event occurred on the NAS, in seconds, since January 1, 1970 00:00 UTC. | 32-bit unsigned integer |
3GPP VSAs Supported in Accounting Stop Messages
Table 2 lists the 3GPP vendor-specific attributes (VSAs) supported by the broadband gateway in Accounting Stop messages.
Table 2: 3GPP VSAs Supported in Accounting Stop Messages
Attribute Number | Attribute Name | Description | Content |
---|---|---|---|
26/10415/1 (3GPP type 1) | 3GPP-IMSI | IMSI for this user. | UTF-8 encoded string |
26/10415/2 | 3GPP-Charging-Id | Charging ID for this PDP context/EPS bearer. | Integer |
26/10415/3 | 3GPP-PDP Type | For a GGSN, this indicates the type of PDP context; for example, IP or PPP. For a P-GW, this indicates the PDN type: IPv4, IPv6, or IPv4v6. | Integer |
26/10415/5 | 3GPP-GPRS-Negotiated-QoS-Profile | QoS profile applied by the broadband gateway for the PDP context/EPS bearer. | UTF-8 encoded string |
26/10415/6 | 3GPP-SGSN-Address | For a GGSN, this represents the SGSN IPv4 address that is used by the GTP control plane for the handling of control messages. For a P-GW, this represents the IPv4 address of the S-GW, trusted non-3GPP IP access or ePDG that is used on S5/S8, S2a or S2b for the handling of control messages. This attribute may be used to identify the PLMN to which the user is attached. | IPv4 address |
26/10415/7 | 3GPP-GGSN-Address | For a GGSN, this represents the GGSN IPv4 address that is used by the GTP control plane for the context establishment. For a P-GW, this represents the P-GW IPv4 address that is used on the S5/S8, S2a, S2b or S2c control plane for the IP-CAN session establishment. The address is the same as the GGSN/P-GW IPv4 address used in the CDRs generated by the broadband gateway. | IPv4 address |
26/10415/8 | 3GPP-IMSI-MCC-MNC | The MCC and MNC extracted from the user’s IMSI (first 5 or 6 digits, as applicable from the presented IMSI). | String |
26/10415/9 | 3GPP-GGSN-MCC-MNC | The MCC and MNC of the network to which the broadband gateway belongs. | String |
26/10415/10 | 3GPP-NSAPI | Identifier for a particular PDP context for the associated PDN and MSISDN/IMSI, from creation to deletion. For a P-GW, this identifies the EPS bearer ID if it is known to the P-GW. | String |
26/10415/12 | 3GPP-Selection-Mode | Selection mode for this PDP context/EPS bearer, received in the Create PDP Context/Session Request message. | String |
26/10415/13 | 3GPP-Charging-Characteristics | For a GGSN, this contains the charging characteristics for this PDP context, received in the Create PDP Context Request message (only available in R99 and later releases). For a P-GW, this contains the charging characteristics for the IP-CAN bearer. | String |
26/10415/18 | 3GPP-SGSN-MCC-MNC | The MCC and MNC extracted from the RAI from the Create PDP Context Request and Update PDP Context Request messages. | String |
26/10415/21 | 3GPP-RAT-Type | The Radio Access Technology type that is currently serving the user equipment. | Octet string |
26/10415/22 | 3GPP-User-Location-Info | Information about where the user equipment is currently located (for example, SAI or CGI). | Octet string |
26/10415/23 | 3GPP-MS-TimeZone | The offset between UTC and local time in steps of 15 minutes of where the MS currently resides. | Octet string |