SIP trace messages
sip_trace_messagesThe call's SIP messages in time order, both legs, read from the stored trace (kept 1 hour after hangup): status or request line, Reason, Warning, P-Asserted-Identity, Diversion and more. Customer service and super admin only. Credentials are never shown and numbers are masked to the last four digits.
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": {
"call_id": "<call_id>"
},
"name": "sip_trace_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call_id | Yes | The call's id (CDR call_id). | |
| leg_uuid | No | Only the SIP dialog of this leg (uuid from `legs`). | |
| sip_call_id | No | Only this SIP Call-ID. | |
| consumer_user_id | No | Act on this seat (own seat, account owner or admin, or staff). Same checks as the site. | |
| method_or_status | No | Only this method (INVITE, ACK) or status code (486). |