Create a SIP trunk
create_sip_trunkConnect your own SIP carrier to Wixzel by providing host and credentials. Returns platform_ip and origination_uri for outbound allowlisting and inbound origination.
Instructions
Connect the user's own carrier (Twilio, Telnyx, Plivo, any SIP provider). Wixzel does not resell telephony. After creating, tell the user to allowlist the returned platform_ip with their carrier (for outbound) and to set the carrier's origination URI to origination_uri (for inbound). Then run check_sip_trunk_status.
Requires scope sip_trunks:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The carrier's SIP host, e.g. "sip.carrier.example". | |
| name | Yes | A label, e.g. "Twilio" or "My carrier". | |
| port | No | Default 5060 (5061 for tls). | |
| password | No | Stored encrypted and never returned by the API again. Ask the user for it; do not invent one. | |
| username | No | ||
| send_plus | No | Keep the leading "+" when dialling, so the request URI reads sip:+15551234567@host. Most carriers want true. | |
| transport | No | ||
| auth_realm | No | ||
| dial_prefix | No | Digits prepended to every dialled number, if the carrier needs them. | |
| provider_name | No | Free text, e.g. "twilio", "telnyx", "plivo". | |
| default_caller_id | No | Caller id to present when no phone number is chosen. |