Preview trunk deletion cascade
trunk_get_cascade_previewGet cascade-preview counts (src_ips, tns_routed_here, active_calls, cdr_count) for a trunk before deletion to see what would be affected.
Instructions
Get per-trunk cascade-preview counts (src_ips, tns_routed_here, active_calls, cdr_count) for an owned trunk. Use before trunk_delete to see what would be affected; active_calls is read live from Redis. Errors: NO_ACTIVE_CUSTOMER, INVALID_ID, NOT_FOUND, INTERNAL_ERROR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) |