Update a trunk endpoint
trunk_update_endpointUpdate a dispatcher endpoint for an owned trunk using structured host/port/transport or a raw SIP URI. Requires endpoint ID from trunk_list_endpoints and step-up MFA.
Instructions
Update a dispatcher endpoint on an owned trunk (structured host/port/transport fields or a raw_uri). Returns HTTP 207 with a warning when the Kamailio sync is deferred. Use trunk_list_endpoints first to find the endpoint id. Step-up MFA required. 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>",
"endpoint_id": "<endpoint_id>"
},
"name": "trunk_update_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SIP destination hostname or IP (structured form; mutually alternative to raw_uri) | |
| port | No | SIP destination port (e.g. 5060) | |
| weight | No | Load-balancing weight among endpoints of the same priority | |
| enabled | No | Whether the endpoint is active in the dispatcher | |
| raw_uri | No | Raw SIP URI (alternative to structured host/port/transport, e.g. sip:pbx.example.com:5061;transport=tls) | |
| priority | No | Failover priority (lower is tried first) | |
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) | |
| transport | No | SIP transport protocol | |
| description | No | Free-text label for the endpoint | |
| endpoint_id | Yes | Endpoint ID (integer, find it with trunk_list_endpoints) |