Update a trunk endpoint
trunk_update_endpointUpdate a dispatcher endpoint on an owned trunk by providing host, port, transport, or a raw SIP URI. Include trunk ID and endpoint ID to modify priority, weight, or enabled status.
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.
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) |