create voip carrier
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
voip carrier name
description
account_sid
application_sid
e164_leading_plus
whether a leading + is required on INVITEs to this provider
requires_register
wehther this provider requires us to send a REGISTER to them in order to receive calls
register_use_tls
wehther this provider requires us to send a REGISTER use TLS protocol
register_username
sip username to authenticate with, if registration is required
register_sip_realm
sip realm to authenticate with, if registration is required
register_password
sip password to authenticate with, if registration is required
register_from_user
optional username to apply in From header
register_from_domain
optional domain to apply in From header
register_public_ip_in_contact
if true, use our public ip in Contact header; otherwise, use sip realm
tech_prefix
prefix to be applied to the called number for outbound call attempts
inbound_auth_username
challenge inbound calls with this username/password if supplied
inbound_auth_password
challenge inbound calls with this username/password if supplied
diversion
Diversion header or phone number to apply to outbound calls
Response
voip carrier successfully created
sid