Create SIP trunk
create_sip_trunkCreate a SIP trunk with credential or IP ACL authentication, route outbound calls via a primary URI with fallback failover, and require explicit confirmation before provisioning.
Instructions
Create a SIP trunk (POST /trunks). Authenticate with credential_uuid and/or ipacl_uuid; route outbound via primary_uri_uuid with fallback_uri_uuid for failover. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| secure | No | ||
| confirm | Yes | Must be true, set only after the user explicitly approved: creating this SIP trunk. | |
| cps_limit | No | ||
| recording | No | ||
| transport | No | ||
| ipacl_uuid | No | ||
| description | No | ||
| webhook_url | No | Receives CallInitiated and Hangup events (public https). | |
| trunk_status | No | ||
| webhook_method | No | ||
| credential_uuid | No | ||
| trunk_direction | No | ||
| primary_uri_uuid | No | Origination URI used first (failover order: primary, then fallback). | |
| fallback_uri_uuid | No | ||
| inbound_destination | No | ||
| enable_transcription | No | ||
| concurrent_calls_limit | No | ||
| recording_webhook_enabled | No |