Session-Termination Command Answer

This section describes the Rx application Session-Termination command Answer AVPs.

Command details:
  • Command name: Session-Termination
  • Code: 275
  • Proxiable: True
  • MDC name:MtxDiamRxSTMsg
Note: Unless otherwise noted, all AVPs are required and the maximum occurrence is "1".
Table 1. Session-Termination Answer
AVP Name AVP Code MDC Field Name

(Struct Name)

Description

Session-Id

263

SessionId

Origin-Host

264

SourceHost

Origin-Realm

296

SourceRealm

DRMP

301

DiamRoutingMsgPriority

Result-Code

268

DiamResult

Success Codes
  • 2001 DIAMETER_SUCCESS
Failure Result Codes
  • 3001 COMMAND_UNSUPPORTED
  • 3002 UNABLE_TO_DELIVER
  • 3008 INVALID_HDR_BITS
  • 4002 OUT_OF_SPACE
  • 4010 END_USER_SERVICE_DENIED
  • 5002 UNKNOWN_SESSION_ID
  • 5004 DIAMETER_INVALID_AVP_VALUE
  • 5005 MISSING_AVP
  • 5009 AVP_OCCURS_TOO_MANY_TIMES
  • 5012 DIAMETER_UNABLE_TO_COMPLY
  • 5014 DIAMETER_INVALID_AVP_LENGTH
  • 5015 DIAMETER_INVALID_MESSAGE_LENGTH

Error-Message

281

ResultText

Error-Reporting-Host

294

ResultReportingHost

OC-Supported-Features

621

OcSupportedFeatures

(MtxDiamOcSupportedFeaturesData)

-- OC-Feature-Vector

622

-- OcFeatureVector

OC-OLR

623

OcOlr

(MtxDiamOcOlrData)

-- OC-Sequence-Number

624

-- OcSequenceId

-- OC-Report-Type

626

-- OcReportType

-- OC-Reduction-Percentage

627

-- OcReductionPct

-- OC-Validity-Duration

625

-- OcValidityDuration

Failed-AVP

279 Maximum occurs = 256

Sponsored-Connectivity-Data

530

SponsoredConnectivityData

(MtxDiamSponsoredConnectivityDataData)

-- Sponsor-Identity

531

-- SponsorId

-- Application-Service-Provider-Identity

532

-- ApplicationServiceProviderId

-- Granted-Service-Unit

431

-- AuthQuantity

(MtxQuantityData)

-- -- Tariff-Time-Change

451

-- -- TariffTimeChange

-- -- CC-Time

420

-- -- ActualDurationQuantity

-- -- CC-Money

413

-- -- -- Unit-Value

445

-- -- -- MonetaryQuantity

-- -- -- Currency-Code

425

-- -- -- MonetaryType

-- -- CC-Total-Octets

421

-- -- TotalDataQuantity

-- -- CC-Input-Octets

412

-- -- InDataQuantity

-- -- CC-Output-Octets

414

-- -- OutDataQuantity

-- -- CC-Service-Specific-Units

417

-- -- Quantity

-- Used-Service-Unit

446

-- UsedQuantity

(MtxUsedQuantityData)

In some situations, a Diameter client does not send the CC-Total-Octets AVP because the AVPs in the Used-Service-Unit grouped AVP are optional. If the CC-Total-Octets is not sent, you can configure the Diameter Gateway to set CC-Total-Octets to be the sum of the CC-Input-Octets and the CC-Output-Octets AVPs.

For more information, see the discussion about Diameter total octet calculation.

-- -- Reporting-Reason

872

-- -- ReportingReason

-- -- Tariff-Change-Usage

452

-- -- TariffChangeUsage

-- -- CC-Time

420

-- -- ActualDurationQuantity

-- -- CC-Total-Octets

421

-- -- TotalDataQuantity

-- -- CC-Input-Octets

412

-- -- InDataQuantity

-- -- CC-Output-Octets

414

-- -- OutDataQuantity

-- -- CC-Service-Specific-Units

417

-- -- Quantity

-- -- Event-Charging-TimeStamp

1258

-- -- EventChargingTimestampList

Maximum occurs = 256

-- Sponsoring-Action

542

-- SponsoringAction

Origin-State-Id

278

SourceStateId

3GPP-User-Location-Info

22

TgppSubscriberLocationInfo

User-Location-Info-Time

2812

SubscriberLocationInfoTime

3GPP-MS-TimeZone

23

TgppDeviceTimeZone

Note:

The 3GPP-MS-TimeZone AVP should contain Binary-Coded Decimal values based upon the 3GPP TS 23.040 specification only. If the AVP does not conform to this rule, you can configure how the AVP is handled.

To configure AVP handling, answer the following question during engine configuration:

"How do you want to handle non-conforming 3GPP-MS-TimeZone AVP values?"

Valid values are:
  • reject — The packet is rejected with a 5004(INVALID_AVP_VALUE).
  • ignore — The AVP is ignored and the appropriate MDC field is not set; the event generated will have a utcOffset value of 0 and an EventTime timezone value of Z (UTC time).
  • process — The value is assumed to be a negative value in two's complement format.

RAN-NAS-Release-Cause

2819

RanNasReleaseReasonList

Maximum occurs = 256

3GPP-SGSN-MCC-MNC

18

TgppSgsnMccMnc

TWAN-Identifier

29

TwanId

TCP-Source-Port

2843

TcpSourcePort

UDP-Source-Port

2806

UdpSourcePort

UE-Local-IP-Address

2805

DeviceLocalIpAddress

NetLoc-Access-Support

2824

NetLocAccessSupport

Class

25

ClassList

Maximum occurs = 256

Redirect-Host

292

RedirectHostList

Maximum occurs = 256

Redirect-Host-Usage

261

RedirectHostUsage

Redirect-Max-Cache-Time

262

RedirectMaxCacheTime

Proxy-Info

284

ProxyInfoList

(MtxDiamProxyInfoData)

Maximum occurs = 256

-- Proxy-Host

280

-- ProxyHost

-- Proxy-State

33

-- ProxyState