Recent SIP events
get_sip_trunk_logsRetrieve recent SIP trunk events including registrations, call setups, and carrier rejections with causes. Use since_id to poll only new entries for real-time monitoring and troubleshooting.
Instructions
The SIP engine's recent events for this account: registration, call setup, and carrier rejections with their cause. A live in-memory ring buffer, not an audit trail. Poll with since_id set to the last_id of the previous response to get only new entries.
Requires scope sip_trunks:read.
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": {
"id": "<id>"
},
"name": "get_sip_trunk_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record id, e.g. "6a96a3ead6e886d42462dd3e". | |
| limit | No | ||
| since_id | No | Return only entries newer than this id. |