Carriers

create voip carrier

post/VoipCarriers

Request body

namestring required

voip carrier name

descriptionstring
account_sidstring
application_sidstring
e164_leading_plusboolean

whether a leading + is required on INVITEs to this provider

requires_registerboolean

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

register_use_tlsboolean

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

register_usernamestring

sip username to authenticate with, if registration is required

register_sip_realmstring

sip realm to authenticate with, if registration is required

register_passwordstring

sip password to authenticate with, if registration is required

register_from_userstring

optional username to apply in From header

register_from_domainstring

optional domain to apply in From header

register_public_ip_in_contactboolean

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

tech_prefixstring

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

inbound_auth_usernamestring

challenge inbound calls with this username/password if supplied

inbound_auth_passwordstring

challenge inbound calls with this username/password if supplied

diversionstring

Diversion header or phone number to apply to outbound calls

Example request

{
  "name": "fastco",
  "description": "my US sip trunking provider",
  "e164_leading_plus": true,
  "register_username": "foo",
  "register_sip_realm": "sip.fastco.com",
  "register_password": "bar"
}

Response

voip carrier successfully created

sidstring required

Example response

{
  "sid": "9d26a637-1679-471f-8da8-7150266e1254"
}

Changes