Update a trunk
trunk_updateUpdate a SIP trunk's settings for name, authentication, capacities, and SIP configuration. Find the trunk ID via trunk_list, then apply changes with step-up MFA enforced.
Instructions
Update an owned trunk's settings (name, auth type, capacities, SIP config). The trunk being updated is excluded from the account capacity-sum check. POI assignment is silently ignored (admin-only). Step-up MFA required. Use trunk_list first to find the trunk id. Errors: NO_ACTIVE_CUSTOMER, INVALID_ID, NOT_FOUND, INVALID_PAYLOAD, VALIDATION_ERROR, INTERNAL_ERROR.
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": {
"trunk_id": "<trunk_id>"
},
"name": "trunk_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Trunk name | |
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) | |
| auth_type | No | Authentication mode: IP_ACL, DIGEST, EITHER, or BOTH | |
| sip_config | No | SIP config object persisted as JSONB (e.g. { codecs: [...], dtmf_mode: '...' }). The customer portal only writes codecs and dtmf_mode; other keys are admin-surface. | |
| description | No | Free-text description of the trunk | |
| capacity_cps_inbound | No | Max inbound calls-per-second; 0 disables inbound (503 + Retry-After at runtime) | |
| capacity_cps_outbound | No | Max outbound calls-per-second; 0 disables outbound | |
| allowed_number_classes | No | Number classes this trunk may carry | |
| capacity_channels_inbound | No | Max concurrent inbound channels; 0 disables inbound | |
| capacity_channels_outbound | No | Max concurrent outbound channels; 0 disables outbound |