Add custom carrier
Adds your own SIP carrier (BYOC). Pick the trunk’s authentication with trunk_type.
Authorizations
Use Authorization: Bearer tc_live_xxxxx
Headers
Makes a retry safe. A 2xx response is stored for 24 hours per account, and a retry with the same key gets it back with Idempotent-Replay: true instead of running again. Errors aren't stored, so a retry after one runs fresh. The key isn't tied to a path or body: use a new key for every different request. A malformed key gets 400.
8 - 255^[A-Za-z0-9_-]+$"a1b2c3d4-e5f6-7890-abcd-ef0123456789"
Body
Display name. Must be unique on your account.
1 - 100Primary gateway, used for outbound calls. With inbound: true, ipv4 must be an IPv4 address: inbound calls are matched by source IP.
How the trunk authenticates:
static_ip: matched by source IP.auth: SIP credentials on inbound calls. Requiresinbound_auth.reg: SIP registration. Requiresregistration.
static_ip, auth, reg Extra inbound-only source ranges, for a trunk that sends calls from more than one address.
16Required when trunk_type is reg.
Required when trunk_type is auth.
Response
Carrier created successfully
Carrier record ID. Use it to delete the carrier.
Account UUID
Pass as voip_carrier_sid when adding a number on this carrier.
Display name
static_ip, auth, reg