The "Accounting-Answer" Diameter command code
The "Accounting-Answer" Diameter command uses the command code "271".
It has the PXY bit.
It is part of the NASREQ Application, 3GPP Wx, 3GPP Gmb, 3GPP Pr, 3GPP S9, 3GPP SGmb, Diameter Base Accounting, Relay applications.
It is defined in the 3GPP TS 29.234: 3GPP system to Wireless Local Area Network (WLAN) interworking; Stage 3 specification.
It contains the following AVPs:
| AVP code | AVP name | AVP type | AVP requirement |
|---|---|---|---|
| 263 | Session-Id | UTF8String | Fixed (1) |
| 268 | Result-Code | Enumerated | Required (1) |
| 264 | Origin-Host | DiameterIdentity | Required (1) |
| 297 | Experimental-Result | Grouped | Optional (up to 1) |
| 296 | Origin-Realm | DiameterIdentity | Required (1) |
| 480 | Accounting-Record-Type | Enumerated | Required (1) |
| 485 | Accounting-Record-Number | Unsigned32 | Required (1) |
| 259 | Acct-Application-Id | AppId | Required (1) |
| 1 | User-Name | UTF8String | Optional (up to 1) |
| 260 | Vendor-Specific-Application-Id | Grouped | Optional (up to 1) |
| 287 | Accounting-Sub-Session-Id | Unsigned64 | Optional (up to 1) |
| 44 | Acct-Session-Id | OctetString | Optional (up to 1) |
| 50 | Accounting-Multi-Session-Id | UTF8String | Optional (up to 1) |
| 55 | Event-Timestamp | Time | Optional (up to 1) |
| 281 | Error-Message | UTF8String | Optional (up to 1) |
| 294 | Error-Reporting-Host | DiameterIdentity | Optional (up to 1) |
| 85 | Acct-Interim-Interval | Unsigned32 | Optional (up to 1) |
| 279 | Failed-AVP | Grouped | Optional |
| 408 | Origin-AAA-Protocol | Enumerated | Optional (up to 1) |
| 278 | Origin-State-Id | Unsigned32 | Optional (up to 1) |
| 32 | NAS-Identifier | UTF8String | Optional (up to 1) |
| 284 | Proxy-Info | Grouped | Optional |
| 4 | NAS-IP-Address | OctetString | Optional (up to 1) |
| 95 | NAS-IPv6-Address | OctetString | Optional (up to 1) |
| 5 | NAS-Port | Unsigned32 | Optional (up to 1) |
| 87 | NAS-Port-Id | UTF8String | Optional (up to 1) |
| 61 | NAS-Port-Type | Enumerated | Optional (up to 1) |
| 6 | Service-Type | Enumerated | Optional (up to 1) |
| 295 | Termination-Cause | Enumerated | Optional (up to 1) |
| 483 | Accounting-Realtime-Required | Enumerated | Optional (up to 1) |
| 25 | Class | OctetString | Optional |
| 282 | Route-Record | DiameterIdentity | Optional |
< Accounting-Answer > ::= < Diameter-Header: 271, PXY >
< Session-Id >
{ Result-Code }
{ Origin-Host }
[ Experimental-Result ]
{ Origin-Realm }
{ Accounting-Record-Type }
{ Accounting-Record-Number }
{ Acct-Application-Id }
[ User-Name ]
[ Vendor-Specific-Application-Id ]
[ Accounting-Sub-Session-Id ]
[ Acct-Session-Id ]
[ Accounting-Multi-Session-Id ]
[ Event-Timestamp ]
[ Error-Message ]
[ Error-Reporting-Host ]
[ Acct-Interim-Interval ]
* [ Failed-AVP ]
[ Origin-AAA-Protocol ]
[ Origin-State-Id ]
[ NAS-Identifier ]
* [ Proxy-Info ]
[ NAS-IP-Address ]
[ NAS-IPv6-Address ]
[ NAS-Port ]
[ NAS-Port-Id ]
[ NAS-Port-Type ]
[ Service-Type ]
[ Termination-Cause ]
[ Accounting-Realtime-Required ]
* [ Class ]
* [ Route-Record ]
| Update source | Insertion date |
|---|---|
| 3GPP | 2026-04-26 07:12 |
| 3GPP | 2026-04-26 07:12 |
diameter-db