bolna_create_sip_trunk
Bring your own trunk: configure gateways, authentication, and settings for inbound/outbound calling via your telephony provider.
Instructions
Create a new SIP trunk (BYOT) on Bolna for inbound/outbound calling via your own telephony provider
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable label for the trunk (must be unique per account) | |
| allow | No | Allowed codecs | ulaw,alaw |
| disallow | No | Disallowed codecs | all |
| gateways | Yes | At least one gateway is required | |
| provider | Yes | SIP provider, e.g. "twilio", "plivo", "zadarma", "telnyx", "vonage", "custom" | |
| auth_type | Yes | Authentication method for the trunk | |
| transport | No | transport-udp | |
| description | No | Optional description for internal reference | |
| auth_password | No | SIP password (required when auth_type is 'userpass') | |
| auth_username | No | SIP username (required when auth_type is 'userpass') | |
| ip_identifiers | No | IP ranges for ip-based auth, e.g. [{ip_address: '15.207.90.192/31'}] | |
| inbound_enabled | No | Enable inbound calls on this trunk | |
| outbound_leading_plus_enabled | No | Prepend + to outbound dialed numbers |