UpdateTrunk modifies an existing SIP trunk.
PATCH/api/v1/voice/sip-trunks/:id
Updates trunk configuration. Partial updates supported.
Parameters
- id: Required, trunk to update
- (other fields): Optional, values to update
Side Effects
- Updates PJSIP records in Asterisk realtime database
- May trigger re-registration if credentials changed
Errors
- NOT_FOUND: Trunk does not exist
- PERMISSION_DENIED: Caller lacks voice:trunk:write permission
Request
Responses
- 200
- default
A successful response.
An unexpected error response.