Call log lines
call_log_linesThe flask and ESL worker log lines that mention this call (its call id, leg uuids and SIP Call-IDs), merged in time order, read from Docker logs on the production servers. Logs are kept only about 4 hours (flask) to a day (ESL) and are lost when a container is recreated. Customer service and super admin only. Credentials are removed 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": "call_log_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Minimum level. Lines with no level are dropped when this is set. | |
| source | No | Which process logs to read (default all). | |
| call_id | Yes | The call's id (CDR call_id). | |
| pad_seconds | No | Seconds added before the call start and after its end (default 30, max 600). | |
| consumer_user_id | No | Act on this seat (own seat, account owner or admin, or staff). Same checks as the site. |