Diameter AVP detail
diameter_avpsExtract and inspect Diameter request and answer AVPs by session, subscriber, command code, or frame, returning key result fields or a full nested AVP tree.
Instructions
The AVPs of Diameter requests and answers, paired as in diameter_transactions.
Select with session_id, imsi (User-Name digits), command_code (316 ULR, 317 CLR,
318 AIR, 319 IDR, 321 PUR, 272 CCR, ...) and/or frame (a request or answer frame
number); the whole session is fetched so answers are kept. detail="key" (default)
gives the AVPs read first: Result-Code and Experimental-Result, ULR/ULA/CLR/PUR/PUA/
IDR/NOR flags with bit names, Cancellation-Type, RAT-Type, Visited-PLMN-Id, AIR
vectors, Gx CC-Request-Type, Event-Trigger, rule reports and QoS, and a digest of
Subscription-Data (MSISDN, status, ODB, access restrictions, AMBR, one line per APN
with PDN type, QCI, ARP, AMBR and PGW), plus a per-application digest under gy,
rx, cx, sh or s13 whose failed codes carry cause_lookup's explained.
detail="full" gives every AVP as a nested tree, at most max_avps leaf AVPs per
message (server cap 2000); avps_dropped counts the rest. Authentication material is
never returned. limit caps transactions (default 20). filter is ANDed with diameter.
More detail: resource schema://tools/diameter_avps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "diameter_avps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Same forms as start | |
| imsi | No | IMSI, 6 to 15 digits | |
| path | Yes | Capture file (absolute, in an allowed dir) or open_capture handle | |
| frame | No | Frame number | |
| limit | No | Most rows per page | |
| start | No | ISO 8601, epoch s, +Ns from start, -Ns from end | |
| detail | No | key (the AVPs or IEs that explain a result) or full | key |
| filter | No | Extra display filter, ANDed | |
| offset | No | Rows to skip (next_offset) | |
| output | No | summary: all but rows, plus 3 rows (<8 KB) | rows |
| redact | No | Replace subscriber identifiers in this result with tokens; ids+ips hides every IP too | off |
| columns | No | Row keys to keep (frame keys stay) | |
| max_avps | No | Most AVPs per message | |
| session_id | No | Diameter Session-Id | |
| command_code | No | Diameter command code, such as 316 (ULR) or 272 (CCR) | |
| max_output_kb | No | Lower output cap, KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| detail | No | ||
| offset | No | ||
| window | No | ||
| dropped | No | ||
| has_more | No | ||
| returned | No | ||
| selection | No | ||
| next_offset | No | ||
| total_found | No | ||
| transactions | No | rows with keys: time, request, answer, command, application, session_id, user_name, origin_host, destination_host, answer_origin_host, request_frame, answer_frame, rtt_ms, result, success, unanswered, unmatched_answer, request_avps, answer_avps, request_avps_dropped, answer_avps_dropped | |
| total_matched | No | ||
| packets_matched | No | ||
| packets_scanned | No | ||
| total_is_lower_bound | No |