Diameter transactions
diameter_transactionsPair Diameter requests with their answers, showing command, result code, round-trip time, and unanswered requests so you can spot failures and slow responses in a capture.
Instructions
Pair Diameter requests with their answers (Hop-by-Hop + End-to-End id, checked
against Session-Id). Use it for which requests failed or went unanswered and how slow
the answers were; group them per Session-Id with diameter_sessions, read the AVPs
behind a transaction with diameter_avps, follow one subscriber across protocols with
trace_subscriber. Each transaction gives command code and name (ULR/ULA, AIR/AIA,
CCR/CCA, ...), application, origin/destination host and realm, User-Name (IMSI),
Result-Code or Experimental-Result-Code with its name, round-trip ms and
unanswered: true for requests with no answer. An unanswered request whose capture
stops before its answer was due (the last packet on its interface comes before the
slowest answer to the same command in the capture plus 0.2 s, at most 2 s) also gets
near_capture_end and a note; summary.unanswered_near_capture_end counts those.
filter is an optional display filter ANDed with diameter, e.g. diameter.cmd.code == 316.
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_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Same forms as start | |
| path | Yes | Capture file (absolute, in an allowed dir) or open_capture handle | |
| limit | No | Most rows per page | |
| start | No | ISO 8601, epoch s, +Ns from start, -Ns from end | |
| 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_output_kb | No | Lower output cap, KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| offset | No | ||
| window | No | ||
| dropped | No | ||
| summary | No | keys: by_message, unanswered, failed, legs_without_response, legs_near_capture_end, unanswered_near_capture_end, duplicates | |
| has_more | No | ||
| returned | No | ||
| next_offset | No | ||
| total_found | No | ||
| transactions | No | rows with keys: time, src, dst, request_frame, answer_frame, rtt_ms, unanswered, unmatched_answer, leg_without_response, near_capture_end, duplicate_of_frame, chain, note, command_code, command, request, answer, application_id, application, session_id, hop_by_hop, end_to_end, origin_host, origin_realm, destination_host, destination_realm, user_name, retransmitted, answer_origin_host, result_code, experimental_result_code, result, mscc_result_codes, mscc_results, success, error_bit | |
| total_matched | No | ||
| packets_matched | No | ||
| packets_scanned | No | ||
| total_is_lower_bound | No |