create voip carrier

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired

voip carrier name

descriptionstringOptional
account_sidstringOptional
application_sidstringOptional
e164_leading_plusbooleanOptional

whether a leading + is required on INVITEs to this provider

requires_registerbooleanOptional

wehther this provider requires us to send a REGISTER to them in order to receive calls

register_use_tlsbooleanOptional

wehther this provider requires us to send a REGISTER use TLS protocol

register_usernamestringOptional

sip username to authenticate with, if registration is required

register_sip_realmstringOptional

sip realm to authenticate with, if registration is required

register_passwordstringOptional

sip password to authenticate with, if registration is required

register_from_userstringOptional

optional username to apply in From header

register_from_domainstringOptional

optional domain to apply in From header

register_public_ip_in_contactbooleanOptional

if true, use our public ip in Contact header; otherwise, use sip realm

tech_prefixstringOptional

prefix to be applied to the called number for outbound call attempts

inbound_auth_usernamestringOptional

challenge inbound calls with this username/password if supplied

inbound_auth_passwordstringOptional

challenge inbound calls with this username/password if supplied

diversionstringOptional

Diversion header or phone number to apply to outbound calls

Response

voip carrier successfully created

sidstring

Errors