SIP Trunks

List your SIP trunks

Returns your saved SIP trunks alongside account-level trunk settings — your plan's included trunk count and additional-trunk fee, how many trunks are active, the egress source IP your endpoints must allow, and the ingress endpoint your PBX/SBC points at.

get/api/v1/trunks

Request

  • Base URL: https://api.callnode.io
  • URL: https://api.callnode.io/api/v1/trunks
  • Auth: API key in header X-Api-Key and API key in header X-Timestamp and API key in header X-Signature

Response

Your trunks and account trunk settings.

includedSipTrunksinteger

Trunks included with your plan at no additional charge.

additionalTrunkMonthlyFeenumber

Your plan's monthly fee for each trunk beyond the included count.

activeTrunkCountinteger
egressSourceIpstring

The first switch address CallNode originates SIP egress from (kept for older integrations). Allow every address in egressSourceIps.

egressSourceIpsstring[]

Every address CallNode may originate SIP egress from; a call can leave from any of them. Allow all of them on your endpoints.

ingressEndpointstring

Where an IP-authenticated PBX/SBC sends inbound trunk calls (UDP/TCP).

registrationEndpointstring

Where a registration trunk registers and sends calls (TLS only).

sipRealmstring

SIP domain/realm used for registration trunk credentials.

Example response

{
  "trunks": [
    {
      "id": "cmb1xk2p40001abcd1234wxyz",
      "registration": {
        "username": "cnk4m8xq2z7pd",
        "domain": "sip.callnode.io",
        "server": "sip.callnode.io:5061"
      }
    }
  ],
  "egressSourceIp": "198.27.122.194",
  "egressSourceIps": [
    "198.27.122.194",
    "192.95.44.47"
  ],
  "ingressEndpoint": "sip.callnode.io:5062",
  "registrationEndpoint": "sip.callnode.io:5061",
  "sipRealm": "sip.callnode.io"
}

Changes

No recorded changes to this operation across all 1 revision of this API.