Skip to main content
GET
/
v1.0
/
account
/
voice
/
routes
Voice Account Routes List
curl --request GET \
  --url https://api.telegent.com/v1.0/v1.0/account/voice/routes \
  --header 'Authorization: Bearer <token>'
{
  "AccountID": "DID-1e8939ab-3f3c-4db1-89d7-956d80fd793j203805880870238",
  "TotalRoutes": 2,
  "Results": [
    {
      "CallRouteStatus": "Active",
      "CallRouteId": "CRID-993804Ar09099",
      "AccountID": "DID-1e8939ab-3f3c-4db1-89d7-956d80fd793j203805880870238",
      "RouteName": "Main SIP Trunk",
      "RouteType": "Trunk",
      "VoiceUrlMethod": "POST",
      "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,
      "IpWhitelist": [
        {
          "IpAddress": "20.20.10.10"
        },
        {
          "IpAddress": "20.20.10.20"
        }
      ],
      "CnamLookup": true,
      "TerminationUriSubdomain": "client",
      "EnableCallStreaming": true,
      "WssUri": "wss://192.67.88.2",
      "RouteEnabled": true
    },
    {
      "CallRouteStatus": "Active",
      "CallRouteId": "CRID-993804Ar09093",
      "AccountID": "DID-1e8939ab-3f3c-4db1-89d7-956d80fd793j203805880870238",
      "RouteName": "Main SIP Trunk Secondary",
      "RouteType": "Trunk",
      "VoiceUrlMethod": "POST",
      "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,
      "IpWhitelist": [
        {
          "IpAddress": "20.20.10.10"
        },
        {
          "IpAddress": "20.20.10.20"
        }
      ],
      "CnamLookup": true,
      "TerminationUriSubdomain": "client",
      "EnableCallStreaming": true,
      "WssUri": "wss://192.67.88.2",
      "RouteEnabled": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Response

200 - application/json

Account Routes List

The response is of type object.