Skip to main content
POST
/
v1.0
/
voice
/
routes
/
update
json
{
  "CallRouteId": "CRID-509de94f-79cc-429b-a317-2102654dabbb",
  "RouteName": "Updated SIP Trunk",
  "RouteType": "Trunk",
  "TrunkIp1": "20.87.87.88"
}
{
  "CallRouteId": "CRID-509de94f-79cc-429b-a317-2102654dabbb",
  "AccountId": "DID-1e8939ab-3f3c-4db1-89d7-956d80fd793j",
  "RouteName": "Main SIP Trunk",
  "RouteType": "Trunk",
  "VoiceUrl": "https://domain.com",
  "VoiceUrlMethod": "GET",
  "TrunkIp1": "20.87.87.87",
  "TrunkIp2": "20.87.87.86",
  "TrunkPort1": "5061",
  "TrunkPort2": "5060",
  "TrunkTransport1": "UDP",
  "TrunkTransport2": "TCP",
  "TrunkUri1": "https://pstn.joonto.com",
  "TrunkUri2": "https://pstn2.joonto.com",
  "TrunkEnabled1": true,
  "TrunkEnabled2": false,
  "Trunk1Priortiy": 10,
  "Trunk1Weight": 10,
  "Trunk2Priortiy": 20,
  "Trunk2Weight": 20,
  "HeaderManipulation": "HMI8802029",
  "EnableSipRefer": true,
  "TransferCallerId": "Transferee/Transferor",
  "SymmetricRtp": true,
  "EnableTrpSecureTrunk": true,
  "EnablePstnTransfer": true,
  "CnamLookup": true,
  "TerminationUriSubdomain": "client",
  "EnableCallStreaming": true,
  "WssUri": "wss://192.67.88.2",
  "IpWhiteList": []
}

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Body

application/json
CallRouteId
string
required

Call Route ID to update (CRID) - Required

Example:

"CRID-509de94f-79cc-429b-a317-2102654dabbb"

RouteName
string

Friendly name for voice route

Example:

"Main SIP Trunk"

RouteType
enum<string>

Type of voice routing

Available options:
Trunk,
URL,
Forward
Example:

"Trunk"

VoiceUrl
string<uri>
Example:

"https://domain.com"

VoiceUrlMethod
enum<string>
Available options:
GET,
POST
Example:

"GET"

TrunkIp1
string
Example:

"20.87.87.87"

TrunkIp2
string
Example:

"20.87.87.86"

TrunkPort1
string
Example:

"5061"

TrunkPort2
string
Example:

"5060"

TrunkTransport1
enum<string>
Available options:
UDP,
TCP,
TLS
Example:

"UDP"

TrunkTransport2
enum<string>
Available options:
UDP,
TCP,
TLS
Example:

"TCP"

TrunkEnabled1
boolean
Example:

true

TrunkEnabled2
boolean
Example:

false

RouteEnabled
boolean
Example:

true

Response

200 - application/json

Update Voice Route

The response is of type object.