Partially update an existing SIP trunk on Bolna using a PATCH request. Only the fields you include in the request body will be changed.
Documentation Index
Fetch the complete documentation index at: https://www.bolna.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
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.
SIP transport protocol.
transport-udp, transport-tcp, transport-tls RTP encryption. "sdes" requires transport=transport-tls.
no, sdes When media_encryption=sdes, fall back to clear RTP if the carrier does not offer crypto in its SDP.
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.
transport-udp, transport-tcp, transport-tls Whether RTP is routed directly between endpoints (typically false).
Enables symmetric RTP to handle NAT.
Forces responses to the source port to handle NAT.
RTP encryption mode. "no" for plain RTP, "sdes" for SRTP via SDES (TLS trunks only).
no, sdes When media_encryption=sdes, whether to fall back to clear RTP if the carrier does not offer crypto.
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.