Diameter Gy - Credit-Control-Request (CCR) command

This section describes the Diameter Gy CCR message format as defined in RFC 4006, Diameter Credit-Control Application. Strikethrough formatted AVPs are not included in CCR. AVPs listed in italics appearing after [AVP] and are not defined in RFC 4006.

 <Credit-Control-Request> ::= < Diameter Header: 272, REQ, PXY > 
                                   < Session-Id > 
                                   { Origin-Host } 
                                   { Origin-Realm } 
                                   { Destination-Realm } 
                                   { Auth-Application-Id } 
                                   { Service-Context-Id } 
                                   { CC-Request-Type } 
                                   { CC-Request-Number } 
                                   [ Destination-Host ] 
                                   [ User-Name ] 
                                   [ CC-Sub-Session-Id ]
[ Acct-Multi-Session-Id ]
                                   [ Origin-State-Id ] 
                                   [ Event-Timestamp ] 
                                  *[ Subscription-Id ] 
                                   [ Service-Identifier ]
                                   [ Termination-Cause ] 
                                   [ Requested-Service-Unit ]
[ Requested-Action ]
*[ Used-Service-Unit ]
                                   [ Multiple-Services-Indicator ] 
                                  *[ Multiple-Services-Credit-Control ]
                                  *[ Service-Parameter-Info ]
[ CC-Correlation-Id ]
                                   [ User-Equipment-Info ]
                                  *[ Proxy-Info ]
*[ Route-Record ]
                                  *[ AVP ] 
                                   [ Framed-IP-Address ] 
                                   [ Called-Station-Id ] 
                                   [ Framed-IPv6-Prefix ] 
                                   [ Delegated-IPv6-Prefix ] 
                                   [ Alc-IPv6-Address ] 
                                   [ 3GPP-IMSI ] 
                                   [ 3GPP-Charging-Id ] 
                                   [ 3GPP-GPRS-QoS-Negotiated-Profile ] 
                                   [ 3GPP-GGSN-Address ] 
                                   [ 3GPP-NSAPI ] 
                                   [ 3GPP-Session-Stop-Indicator ] 
                                   [ 3GPP-Selection-Mode ] 
                                   [ 3GPP-Charging-Characteristics ] 
                                   [ 3GPP-GGSN-v6-Address ] 
                                   [ 3GPP-RAT-Type ] 
                                   [ 3GPP-User-Location-Info ]
                                   [ GGSN-Address ] 
                                   [ Service-Information ] 
                                   [ Charging-Rule-Base-Name ] 
                                   [ PDP-Context-Type ] 

Diameter Gy – CCR message top level AVPs

Diameter Gy CCR: top level AVP description provides a detailed description of each top-level AVP present in a Diameter Gy CCR message. Unless mentioned in the description, the AVP is present in Initial, Update, and Terminate messages. Grouped AVPs are marked with ‟↳ (grouped AVP)”. The grouped AVP format and embedded AVP description and format are described in Diameter Gy – CCR message grouped AVPs.

Table 1. Diameter Gy CCR: top level AVP description
AVP code AVP name Description

1

User-Name

RADIUS username

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy aaa-user-name
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp radius-user-name

default: not included

8

Framed-IP-Address

The IP address of the IPv4 subscriber host that triggered the creation of the Diameter Gy session.

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp address-avp
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp address-avp
Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured with the following commands:
  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

default: included

30

Called-Station-Id

The AVP is included if configured in the diameter application policy command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp called-station-id
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp called-station-id

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs using the following commands:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

value: string up to 64 characters

default: no called-station-id

55

Event-Timestamp

Timestamp when the request was generated.

97

Framed-IPv6-Prefix

The IPv6 prefix of the SLAAC subscriber host that triggered the creation of the Diameter Gy session.

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp address-avp
  • classic CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp address-avp

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

default: included

123

Delegated-IPv6-Prefix

The IPv6 prefix of the DHCPv6 IA-PD subscriber host that triggered the creation of the Diameter Gy session.

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp address-avp
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp address-avp

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

default: included

258

Auth-Application-Id

Fixed value: 4 = Diameter Credit Control Application

263

Session-Id

A session is a logical concept at the application layer that exists between the Diameter client and the Diameter server; it is identified via the Session-Id AVP.

Format:

<DiameterIdentity>; <high 32 bits>; <low 32 bits>

  • <DiameterIdentity> is the configured origin host

  • <high 32 bits> are encoded as the Diameter initialization time (number of seconds because 1 January, 1970)

  • <low 32 bits> are encoded as a sequentially increasing number starting at 1

Example: bng.nokia.com;1326398325;1

264

Origin-Host

Diameter Identity. As configured in the corresponding diameter-peer-policy.

Example: bng.nokia.com

278

Origin-State-Id

Initialized to the Diameter process startup time. Encoded as number of seconds since 1 January, 1970.

283

Destination-Realm

Diameter Identity. As configured in the corresponding diameter-peer-policy or learned from CCA/RAR.

Example: nokia.com

293

Destination-Host

Diameter Identity. As configured in the corresponding diameter-peer-policy or learned from CCA/RAR. Omitted in CCR-I if not configured.

Example: server.nokia.com

295

Termination-Cause

(CCR-T only)

Indicates the reason that the credit control session was terminated.

Values:

1 = Diameter Logout

4 = Diameter Administrative - a diameter session could not be created because of category mismatch or system resources

296

Origin-Realm

Diameter Identity. As configured in the corresponding diameter-peer-policy.

Example: nokia.com

415

CC-Request-Number

Initial Request: 0

Update and Termination Request: sequence number

416

CC-Request-Type

1 = Initial Request

2 = Update Request

3 = Termination Request

443

Subscription-Id

↳ (grouped AVP)

Identifies the subscriber host or session.

The value is as configured in the diameter application policy:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy avp-subscription-id origin
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy avp-subscription-id origin

If no data is available for the specified origin, then the subscriber-id is used instead.

default: avp-subscription-id subscriber-id type private

For GTP access, the configured value is ignored and two Subscription-Id AVPs are included: IMSI (type imsi) and MSISDN (type e164) with the corresponding values learned from the GTP Create Session Request message.

455

Multiple-Services-Indicator

(CCR-I only)

Fixed value: 1 = MULTIPLE_SERVICES_SUPPORTED

456

Multiple-Services-Credit-Control

↳ (grouped AVP)

Up to 16 Multiple-Services-Credit-Control AVPs, each corresponding with a single rating group. A rating group maps to a category configured in a category-map using the following commands.

configure subscriber-mgmt category-map category rating-group

458

User-Equipment-Info

↳ (grouped AVP)

(GTP access only)

The AVP is included if configured in the diameter application policy:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp user-equipment-info-type type imeisv
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp user-equipment-info type imeisv

value: IMEI as signaled in the GTP Create Session Request message.

default: not included

461

Service-Context-Id

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp service-context-id
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp service-context-id 

value: string of up to 32 characters

default: no service-context-id

NOKIA – 99

Alc-IPv6-Address

The IPv6 address of the DHCPv6 IA-NA subscriber host that triggered the creation of the Diameter Gy session.

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp address-avp
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp address-avp 

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

default: included

3GPP – 1

3GPP-IMSI

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-imsi
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-imsi

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

values:

  • circuit-id

  • imsi

  • subscriber-id

default: included with value subscriber-id

3GPP – 2

3GPP-Charging-Id

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-charging-id
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-charging-id
Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:
  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information
.

values:

  • auto: defaults to esm-info for vendor-support three-gpp

  • esm-info: <subscriber-id>;<sap-id>;<sla-profile>[ <SPI sharing id>]

  • id: a unique 32 bit integer value per session

default: included with esm-info value (auto)

3GPP – 5

3GPP-GPRS-QoS-Negotiated-Profile

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-gprs-negotiated-qos-profile 
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-gprs-negotiated-qos-profile

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

value: the active SLA profile name

default: included

3GPP – 7

3GPP-GGSN-Address

The local IPv4 address used to setup the diameter peer. The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-ggsn-ipv4-address 
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-ggsn-address
Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:
  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

Value:

  1. Use the configured IPv4 source address:

    • MD-CLI
      configure aaa diameter-peer-policy ipv4-source-address
    • classic CLI
      configure aaa diameter-peer-policy source-address
  2. If the router equals base or vprn service id, use the system interface IPv4 address

    else if the router equals management, use the active management port IP address configured in the BOF

default: included

3GPP – 10

3GPP-NSAPI

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-nsapi
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-nsapi

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

value: <system name>;<service-id>;<sap-id>

default: included

3GPP – 11

3GPP-Session-Stop-Indicator

(CCR-T only)

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-session-stop-indicator
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-session-stop-indicator

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

Fixed value: 0x FF

default: included

3GPP – 12

3GPP-Selection-Mode

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-selection-mode
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-selection-mode

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

Fixed value: 0x 00 00 00 00 (MS or network provided APN, subscribed verified)

default: included

3GPP – 13

3GPP-Charging-Characteristics

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-charging-characteristics
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-charging-characteristics

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

Fixed value: ‟0000”

default: included

3GPP – 16

3GPP-GGSN-v6-Address

The local IPv6 address used to setup the diameter peer. The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-ggsn-ipv6-address

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ps-information

value:

  1. Use the configured IPv6 source address:

    configure aaa diameter peer-policy ipv6-source-address
  2. If router = base or vprn service id: use the system interface IPv6 address

    else if router = management: use the active management port IP address configured in the BOF

default: not included

3GPP – 21

3GPP-RAT-Type

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp three-gpp-rat-type
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp 3gpp-rat-type

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured with the following command options:

gy include-avp ps-information

value: [1 to 255]

default: not included

For GTP access, the RAT-Type value is learned from the GTP Create Session Request message. The configured value is used when the GTP learned value is unknown or invalid.

3GPP - 22

3GPP-User-Location-Info

(GTP access only)

Provides UE location details

The AVP is included if configured in the diameter application policy:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp 3gpp-user-location-info
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp three-gpp-user-location-info
    

value: ULI learned from the GTP Create Session Request message.

default: not included

3GPP – 847

GGSN-Address

The local address used to setup the diameter peer.

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ggsn-address type (ipv4 | ipv6)
    
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy include-avp ggsn-address {ipv4 | ipv6}
    

Either IPv4 or IPv6 address can be included.

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured with the following command options:

gy include-avp ps-information

value:

  1. Use the configured IP source address:

    • MD-CLI
      configure aaa diameter peer-policy ipv6-source-address
      configure aaa diameter peer-policy ipv4-source-address
    • classic CLI
      configure aaa diameter-peer-policy ipv6-source-address
      
      configure aaa diameter-peer-policy ipv4-source-address
      
  2. If router = base or vprn service id: use the system interface IP address

    else if router = management: use the active management port IP address configured in the BOF

default: not included

3GPP – 873

Service-Information

↳ (grouped AVP)

Grouped AVP containing the [3GPP – 874] PS-Information grouped AVP and embedding following AVPs:

  • [8] Framed-IP-Address

  • [30] Called-Station-Id

  • [97] Framed-IPv6-Prefix

  • [123] Delegated-IPv6-Prefix

  • [NOKIA – 99] Alc-IPv6-Address

  • [3GPP – 1] 3GPP-IMSI

  • [3GPP – 2] 3GPP-Charging-Id

  • [3GPP – 5] 3GPP-GPRS-Negotiated-QoS-profile

  • [3GPP – 7] 3GPP-GGSN-Address

  • [3GPP – 10] GGSN-NSAPI

  • [3GPP – 11] 3GPP-Session-Stop-Indicator

  • [3GPP – 12] 3GPP-Selection-Mode

  • [3GPP – 13] 3GPP-Charging-Characteristics

  • [3GPP – 16] 3GPP-GGSN-IPv6-Address

  • [3GPP – 21] 3GPP-RAT-Type

  • [3GPP – 847] GGSN-Address

  • [3GPP – 1004] Charging-Rule-Base-Name

  • [3GPP – 1247] PDP-Context-Type

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information
  • classic CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp ps-information

When not configured the above listed AVPs are included at command level.

default: no ps-information

3GPP – 1004

Charging-Rule-Base-Name

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp charging-rule-base-name category-map
  • classic CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp charging-rule-base-name category-map-name
    

Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured with the following command options:

gy include-avp ps-information

value:

  • category-map-name: the name of the category-map in use for this session

  • string: a string of max. 64 characters.

default: charging-rule-base-name category-map-name

3GPP – 1247

PDP-Context-Type

(CCR-I only)

The AVP is included if configured in the diameter application policy using the following command:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp pdp-context-type
  • classic CLI
    configure subscriber-mgmt diameter-gy-policy gy include-avp pdp-context-type
Included at the command level or embedded within the [3GPP – 873] Service-Information / [3GPP – 874] PS-Information grouped AVPs when configured with the following command options:
gy include-avp ps-information

Fixed value: 0 (primary)

default: included

Table 2. Diameter Gy CCR: top level AVP format
AVP code AVP name Standard Data format Flags

1

User-Name

RFC 2865/RFC 6733

UTF8 String

M

8

Framed-IP-Address

RFC 2865

Octet String

M

30

Called-Station-Id

RFC 2865

UTF8 String

M

55

Event-Timestamp

RFC 6733/RFC 4006

Time

M

97

Framed-IPv6-Prefix

RFC 3162

Octet String

M

123

Delegated-IPv6-Prefix

RFC 4818

Octet String

M

258

Auth-Application-Id

RFC 6733/RFC 4006

Unsigned 32

M

263

Session-Id

RFC 6733

UTF8 String

M

264

Origin-Host

RFC 6733

Diameter Identity

M

278

Origin-State-Id

RFC 6733

Unsigned 32

M

283

Destination-Realm

RFC 6733

Diameter Identity

M

293

Destination-Host

RFC 6733

Diameter Identity

M

295

Termination-Cause

RFC 6733

Enumerated

M

296

Origin-Realm

RFC 6733

Diameter Identity

M

415

CC-Request-Number

RFC 4006

Unsigned 32

M

416

CC-Request-Type

RFC 4006

Enumerated

M

443

Subscription-Id

↳ (grouped AVP)

RFC 4006

Grouped

M

455

Multiple-Services-Indicator

RFC 4006

Enumerated

M

456

Multiple-Services-Credit-Control

↳ (grouped AVP)

RFC 4006

Grouped

M

458

User-Equipment-Info

↳ (grouped AVP)

RFC 4006

Grouped

M

461

Service-Context-Id

RFC 4006

UTF8 String

M

NOKIA – 99

Alc-IPv6-Address

Octet String

V

3GPP – 1

3GPP-IMSI

TS 29.061/ TS 32.299

UTF8 String

V

3GPP – 2

3GPP-Charging-Id

TS 29.061/ TS 32.299

UTF8 String

V

3GPP – 5

3GPP-GPRS-QoS-Negotiated-Profile

TS 29.061

UTF8 String

V

3GPP – 7

3GPP-GGSN-Address

TS 29.061

Octet String

V

3GPP – 10

3GPP-NSAPI

TS 29.061

UTF8 String

V

3GPP – 11

3GPP-Session-Stop-Indicator

TS 29.061

UTF8 String

V

3GPP – 12

3GPP-Selection-Mode

TS 29.061

UTF8 String

V

3GPP – 13

3GPP-Charging-Characteristics

TS 29.061

UTF8 String

V

3GPP – 16

3GPP-GGSN-v6-Address

TS 29.061

Octet String

V

3GPP – 21

3GPP-RAT-Type

TS 29.061

Octet String

V

3GPP – 22

3GPP-User-Location-Info

TS 29.061

Octet String

V

3GPP – 847

GGSN-Address

TS 32.299

Address

V

3GPP – 873

Service-Information

↳ (grouped AVP)

TS 32.299

Grouped

V

3GPP – 1004

Charging-Rule-Base-Name

TS 29.212

Octet String

V, M

3GPP – 1247

PDP-Context-Type

TS 32.299

Enumerated

V, M

Diameter Gy – CCR message grouped AVPs

This section provides an overview of CCR message grouped AVPs.

Diameter Gy CCR – Subscription-Id grouped AVP

Grouped AVP format as defined in RFC 4006:

Subscription-Id ::= < AVP Header: 443 > 
                          { Subscription-Id-Type } 
                          { Subscription-Id-Data } 
Table 3. Diameter Gy CCR: Subscription-Id grouped AVP description
AVP code AVP name Description

450

Subscription-Id-Type

Value as configured in the diameter application policy:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy avp-subscription-id origin
    configure subscriber-mgmt diameter-gy-policy gy avp-subscription-id type 
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy avp-subscription-id origin (circuit-id|dual-stack-remote-id|imei|imsi|mac|msisdn|nas-port-id|subscriber-id|username) [type (e164|imsi|nai|private)] 

values:

  • e164: identifier in international E.164 format (ITU-T E.164)

  • imsi: identifier in international IMSI format (ITU-T E.212)

  • nai: identifier in the form of a Network Access Identifier (RFC 2486)

  • private: a credit control server private identifier

default: type private

For GTP access, the configured value is ignored and the type is set to imsi and msisdn respectively for each of the two included Subscription-Id AVPs.

444

Subscription-Id-Data

The value as configured in the diameter application policy:

  • MD-CLI
    configure subscriber-mgmt diameter-gy-policy gy avp-subscription-id origin 
    configure subscriber-mgmt diameter-gy-policy gy avp-subscription-id type 
    
  • classic CLI
    configure subscriber-mgmt diameter-application-policy gy avp-subscription-id origin [type] 

Note that there is no check if the provided data is in the format of the following configured type.

values:

  • circuit-id

  • subscriber-id

  • imsi

  • msisdn

  • imei

default: avp-subscription-id subscriber-id

For GTP access, the Subscription ID data is learned from GTP and contains the IMSI and MSISDN.

Table 4. Diameter Gy CCR: Subscription-Id grouped AVP format
AVP code AVP name Standard Data format Flags

450

Subscription-Id-Type

RFC 4006

Enumerated

M

444

Subscription-Id-Data

RFC 4006

UTF8 String

M

Diameter Gy CCR – Multiple-Services-Credit-Control grouped AVP

Grouped AVP format as defined in RFC 4006. Strikethrough formatted AVPs are not included in CCR. Italic formatted AVPs listed after [AVP] are not defined in RFC 4006.

Multiple-Services-Credit-Control ::= < AVP Header: 456 >
                                           [ Granted-Service-Unit ]
                                           [ Requested-Service-Unit ] 
                                          *[ Used-Service-Unit ] 
                                           [ Tariff-Change-Usage ]
                                          *[ Service-Identifier ]
                                           [ Rating-Group ]
                                          *[ G-S-U-Pool-Reference ]
[ Validity-Time ]
[ Result-Code ]
[ Final-Unit-Indication ]
                                          *[ AVP ] 
                                           [ Reporting-Reason ] 
Table 5. Diameter Gy CCR: Multiple-Services-Credit-Control Grouped AVP description
AVP code AVP name Description

432

Rating-Group

Rating group for which the quota is requested or reported. Corresponds with a category within a category-map defining the queues and policers and direction to monitor.

configure subscriber-mgmt category-map category rating-group

437

Requested-Service-Unit

↳ (grouped AVP)

(CCR-I and CCR-U only)

When included, the Requested-Service-Unit AVP has an empty data field in all CCR Initial/Update messages.

446

Used-Service-Unit

↳ (grouped AVP)

(CCR-U and CCR-T only)

Amount of used service units measured for a specified category or rating group to a specified quota type.

The Used-Service-Unit AVP is not present in CCR-U when all contained AVP values are zero and the Reporting-Reason = Validity Time (4) or Forced Reauthorization (7).

3GPP – 872

Reporting-Reason

Specifies the reason for which the Used-Service-Units are reported. CCR-U and CCR-T only.

Values

  • 0 (Threshold): used quota reached time or volume threshold value (threshold value different from zero)

  • 1 (Quota Holding Time): expiration of the Quota Holding Time

  • 2 (Final): Diameter session termination; can be client or server initiated.

  • 3 (Quota Exhausted): no threshold or threshold is zero and quota exhausted.

  • 4 (Validity Time): expiration of the Validity Time

  • 5 (Other Quota Type): not supported

  • 6 (Rating Condition Change): not supported

  • 7 (Forced Reauthorization): reception of a RAR message

  • 8 (Pool Exhausted): not supported

Table 6. Diameter Gy CCR: Multiple-Services-Credit-Control grouped AVP format
AVP code AVP name Standard Data format Flags

432

Rating-Group

RFC 4006

Unsigned 32

M

437

Requested-Service-Unit

↳ (grouped AVP)

RFC 4006

Grouped

M

446

Used-Service-Unit

↳ (grouped AVP)

RFC 4006

Grouped

M

3GPP – 872

Reporting-Reason

TS 32.299

Enumerated

V, M

Diameter Gy CCR – Requested-Service-Unit grouped AVP

Grouped AVP format as defined in RFC 4006. Strikethrough formatted AVPs are not included in CCR.

Requested-Service-Unit ::= < AVP Header: 437 >
                            [ CC-Time ]
[ CC-Money ]
[ CC-Total-Octets ]
[ CC-Input-Octets ]
[ CC-Output-Octets ]
[ CC-Service-Specific-Units ]
                           *[ AVP ]

The Requested-Service-Unit AVP has an empty data field in all CCR Initial/Update messages and is not present in a CCR Terminate message.

Diameter Gy CCR – Used-Service-Unit grouped AVP

Grouped AVP format as defined in RFC 4006. Strikethough formatted AVPs are not included in CCR.

 Used-Service-Unit ::= < AVP Header: 446 > 
                            [ Tariff-Change-Usage ]
                            [ CC-Time ]
                            [ CC-Money ] 
                            [ CC-Total-Octets ] 
                            [ CC-Input-Octets ] 
                            [ CC-Output-Octets ]
                            [ CC-Service-Specific-Units ]
                           *[ AVP ]
Table 7. Diameter Gy CCR: Used-Service-Unit grouped AVP description
AVP code AVP name Description

412

CC-Input-Octets

Number of ingress bytes forwarded via queues or policers that are monitored in the ingress direction for this rating group.

  • MD-CLI
    configure subscriber-mgmt category-map category ingress policer value
    configure subscriber-mgmt category-map category ingress queue value
  • classic CLI
    configure subscriber-mgmt category-map category queue queue-id {ingress-only}
    configure subscriber-mgmt category-map category policer policer-id {ingress-only}

Value equals zero when credit type is time or when no queues/policers are monitored in ingress direction.

414

CC-Output-Octets

Number of egress bytes forwarded via queues or policers that are monitored in egress direction for this rating group.

  • MD-CLI
    configure subscriber-mgmt category-map category egress policer value
    configure subscriber-mgmt category-map category egress queue value
  • classic CLI
    configure subscriber-mgmt category-map category queue queue-id {egress-only}
    configure subscriber-mgmt category-map category policer policer-id {egress-only}

Value equals zero when credit type is time. Or when no queues/policers are monitored in egress direction.

420

CC-Time

Total number of seconds during which activity is detected for queues or policers that are monitored for this rating group.
  • MD-CLI
    configure subscriber-mgmt category-map category ingress policer value
    configure subscriber-mgmt category-map category ingress queue value
  • classic CLI
    configure subscriber-mgmt category-map category queue queue-id {ingress-only | egress-only | ingress-egress}
    configure subscriber-mgmt category-map category policer policer-id {ingress-only | egress-only | ingress-egress}

Only sampling periods exceeding the configured activity-threshold are counted:

configure subscriber-mgmt category-map activity-threshold

Value equals zero when credit type is volume.

421

CC-Total-Octets

Total number of bytes used for this rating-group. Corresponds with the sum of CC-Input-Octets and CC-Output-Octets.

Value equals zero when credit type is time.

Table 8. Diameter Gy CCR: Used-Service-Unit grouped AVP format
AVP code AVP name Standard Data format Flags

412

CC-Input-Octets

RFC 4006

Unsigned 64

M

414

CC-Output-Octets

RFC 4006

Unsigned 64

M

420

CC-Time

RFC 4006

Unsigned 32

M

421

CC-Total-Octets

RFC 4006

Unsigned 64

M

Diameter Gy CCR - User-Equipment-Info grouped AVP

Grouped AVP format as defined in RFC 4006.

      User-Equipment-Info ::= < AVP Header: 458 >
                          { User-Equipment-Info-Type }
                          { User-Equipment-Info-Value }
Table 9. Diameter Gy CCR: User-Equipment-Info grouped AVP description
AVP code AVP name Description

459

User-Equipment-Info-Type

(GTP access only)

fixed value: IMEISV (0)

460

User-Equipment-Info-Value

(GTP access only)

The Internet Mobile Equipment Identifier (IMEI) as signaled in the GTP Create Session Request message.

Table 10. Diameter Gy CCR: User-Equipment-Info grouped AVP format
AVP code AVP name Standard Data format Flags

459

User-Equipment-Info-Type

RFC 4006

Enumerated

460

User-Equipment-Info-Value

RFC 4006

UTF8 String

Diameter Gy CCR – Service-Information grouped AVP

Grouped AVP format as defined in TS 32.29. Strikethrough formatted AVPs are not included in CCR.

Service-Information :: = < AVP Header: 873>
                         * [ Subscription-Id ]
[ AoC-Information ] 
                           [ PS-Information ]
                           [ WLAN-Information ]
[ IMS-Information ]
[ LCS-Information ]
[ PoC-Information ]
[ MBMS-Information ]
[ SMS-Information ]
[ MMTel-Information ]
[ Service-Generic-Information ]
[ IM-Information ]
[ DCD-Information ]
Table 11. Diameter Gy CCR: Service-Information grouped AVP description
AVP code AVP name Description

3GPP – 874

PS-Information

↳ (grouped AVP)

Allows the transmission of additional Packet Switched service-specific information elements.

Table 12. Diameter Gy CCR: Service-Information grouped AVP format
AVP code AVP name Standard Data format Flags

3GPP – 874

PS-Information

↳ (grouped AVP)

TS 32.299

Grouped

V

Diameter Gy CCR – PS-Information grouped AVP

Grouped AVP format as defined in TS 32.299:

Strikethrough formatted AVPs are not included in CCR. Italic formatted AVPs listed at the end are not defined in TS 32.299.

For a description and format of the AVPs embedded in the grouped PS-Information AVP, see Diameter Gy CCR: top level AVP description and Diameter Gy CCR: top level AVP format.

  PS-Information :: = < AVP Header: 874> 
                      [ 3GPP-Charging-Id ]
                      [ PDN-Connection-ID ]
[ Node-Id ]
 [ 3GPP-PDP-Type ]
[ PDP-Address ]
[ Dynamic-Address-Flag ]
[ QoS-Information ]
[ SGSN-Address ]
                      [ GGSN-Address ]
                      [ CG-Address ]
[ Serving-Node-Type ]
[ SGW-Change ]
[ 3GPP-IMSI-MCC-MNC ]
[ IMSI-Unauthenticated-Flag ]
[ 3GPP-GGSN-MCC-MNC ]
                      [ 3GPP-NSAPI ] 
                      [ Called-Station-Id ] 
                      [ 3GPP-Session-Stop-Indicator ] 
                      [ 3GPP-Selection-Mode ] 
                      [ 3GPP-Charging-Characteristics ]
                      [ Charging-Characteristics-Selection-Mode ]
[ 3GPP-SGSN-MCC-MNC ]
[ 3GPP-MS-TimeZone ]
                    * [ Charging-Rule-Base-Name ]
                      [ 3GPP-User-Location-Info ]
[ User-CSG-Information ]
[ 3GPP2-BSID ] 
                      [ 3GPP-RAT-Type ]
                      [ PS-Furnish-Charging-Information ]
                      [ PDP-Context-Type ]
                      [ Offline-Charging ]
                    * [ Traffic-Data-Volumes ]
                    * [ Service-Data-Container ]
[ User-Equipment-Info ]
[ Terminal-Information ]
[ Start-Time ]
[ Stop-Time ]
[ Change-Condition ]
[ Diagnostics ]
[ Framed-IP-Address ]
[ Framed-IPv6-Prefix ] 
[ Delegated-IPv6-Prefix ]
[ Alc-IPv6-Address ]
[ 3GPP-IMSI ] 
[ 3GPP-GPRS-Negotiated-QoS-profile ] 
[ 3GPP-GGSN-Address ]
 [ 3GPP-GGSN-IPv6-Address ]