SIP dialogs
sip_dialogsGroups SIP messages by Call-ID to list calls and dialogs, showing method sequences, final outcomes, timings, and duration so you can locate a call and inspect how it ended.
Instructions
Group SIP messages by Call-ID: the list of calls and other dialogs and how each
ended. Use it to find a call; then sip_call_detail for one call's timings and SDP,
ims_registration for REGISTER flows, sms_over_ims for SIP MESSAGE delivery. Each dialog lists the method/response sequence with
timestamps, From, To, Request-URI, P-Asserted-Identity, the method chain, the final
status of the initial request, time to that final response and the dialog duration;
outcome_status is the final status after any 401/407 challenge was retried (a
REGISTER answered 401 then 200 succeeded), attempts counts transactions of the
initial method and resent_messages counts retransmissions;
no_final_response: true marks requests that never completed. Narrow with call_id
(exact), number (digits found in From, To, Request-URI or P-Asserted-Identity) or
method (INVITE, REGISTER, MESSAGE, ...): matching messages select the dialogs, then
every message of those dialogs is fetched so responses are kept. filter is a raw
display filter ANDed with sip; it applies literally to each packet.
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": "sip_dialogs"
}
}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 | |
| method | No | SIP method (INVITE, REGISTER, ...) | |
| number | No | Phone number digits found in From, To, Request-URI or P-Asserted-Identity | |
| 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 |
| call_id | No | SIP Call-ID of the call | |
| columns | No | Row keys to keep (frame keys stay) | |
| esp_null | No | Read SIP in NULL-encrypted ESP | |
| max_output_kb | No | Lower output cap, KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| ipsec | No | keys: esp_packets, spis, decoded_null, unreadable, esp_null, hint | |
| offset | No | ||
| window | No | ||
| dialogs | No | rows with keys: call_id, time, duration_ms, src, dst, initial_method, request_uri, from, to, p_asserted_identity, final_status, time_to_final_ms, outcome_status, attempts, resent_messages, no_final_response, message_count, methods, messages | |
| 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 | ||
| selection | No | ||
| next_offset | No | ||
| total_found | No | ||
| total_matched | No | ||
| packets_matched | No | ||
| packets_scanned | No | ||
| total_is_lower_bound | No |