Accounting Command Answer

This section describes the Accounting application Accounting command Answer AVPs.

Command details:
  • Command name: Accounting
  • Code: 271
  • Proxiable: True
  • MDC name:MtxDiamRoMsg
Note: Unless otherwise noted, all AVPs are required and the maximum occurrence is "1".
Table 1. Accounting Answer
AVP Name AVP Code MDC Field Name

(Struct Name)

Description

Session-Id

263

SessionId

Accounting-Record-Number

485

SessionMsgId

Accounting-Record-Type

480

Op

See the discussion about Diameter accounting record types

Origin-Host

264

SourceHost

Origin-Realm

296

SourceRealm

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

Acct-Application-Id

259

ApplicationId

Acct-Interim-Interval

85

InterimInterval

Error-Reporting-Host

294

ResultReportingHost

Event-Timestamp

55

EventTime

See the discussion about Diameter usage start time.

Experimental-Result

297

-- Experimental-Result-Code

298

Origin-State-Id

278

SourceStateId

Proxy-Info

284

ProxyInfoList

(MtxDiamProxyInfoData)

Maximum occurs = 256

-- Proxy-Host

280

-- ProxyHost

-- Proxy-State

33

-- ProxyState

User-Name

1

SubscriberName

Failed-AVP

279 Maximum occurs = 256

Error-Message

281

ResultText