Partially update an existing SIP trunk. Only included fields are changed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique trunk ID
Fields to update
Fields to update on an existing SIP trunk. Only provided fields are changed.
Updated human-readable trunk name.
Updated trunk description for internal reference.
Updated SIP username (used only when the trunk uses userpass authentication).
Updated SIP password (used only when the trunk uses userpass authentication).
Replaces existing gateways when provided.
Replaces existing IP identifiers when provided.
Comma-separated codecs to allow (e.g., "ulaw,alaw").
Comma-separated codecs to disallow (typically "all").
Enable or disable inbound calling on this trunk.
Whether to prepend a leading + to outbound dialed numbers.
Activate or deactivate the trunk. When false, calls will not be placed.
SIP OPTIONS ping interval in seconds. Use 0 to disable.
Updated SIP trunk
SIP trunk object returned by the API.
Unique SIP trunk identifier.
Human-readable trunk name.
SIP provider name (e.g., twilio, plivo, zadarma, telnyx, vonage, custom).
Optional trunk description for internal reference.
Authentication method used for this trunk.
userpass, ip-based SIP username (present only for userpass trunks).
Ordered list of SIP gateways used for registration and call routing.
IP ranges associated with this trunk (used only for ip-based authentication).
Phone numbers (DIDs) registered on this trunk.
Comma-separated codecs to allow.
Comma-separated codecs to disallow.
SIP transport used by the trunk.
Whether RTP is routed directly between endpoints (typically false).
Enables symmetric RTP to handle NAT.
Forces responses to the source port to handle NAT.
Whether ICE is enabled for media negotiation.
SIP OPTIONS ping interval in seconds.
Whether inbound calling is enabled.
Whether to prepend a leading + to outbound dialed numbers.
Whether the trunk is active.
ISO timestamp when the trunk was created.
ISO timestamp when the trunk was last updated.