Skip to Content
SIP trunks

Get SIP runtime info

Permissionsip-trunks:readAuthentication
GET
/sip-trunks/runtime-info

Returns deployment network values needed to configure carrier allowlists and SIP registration. Unconfigured values are explicit nulls, never omitted.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Response Body

Current SIP ingress, egress, and registration endpoints.

application/json
  1. response

Deployment-specific SIP endpoints needed to configure a carrier or PBX. Unconfigured scalar values are explicit nulls.

sip_egress_cidrs*array<string>

Source IP addresses or CIDRs a carrier must allow for Kejue Voice-originated SIP traffic.

public_sip_uri*|

Canonical public SIP URI carriers use to originate traffic toward Kejue Voice. This is the first entry of public_sip_uris; prefer that list when configuring a carrier.

public_sip_uris*array<string>

Every public SIP edge carriers should originate toward. The SIP tier runs one independent stack per edge, so a carrier pointed at only one of them loses inbound while that edge restarts. Point the carrier at all of them, with equal priority and weight.

registration_domain*|

Domain registered_peer clients use in SIP digest registration.

registrar_sip_address*|

Internal SIP-edge address used for registered-peer outbound routing.

Example Request
curl -X GET 'https://api.kejue.co/v1/sip-trunks/runtime-info'
Example Response
{  "sip_egress_cidrs": [    "string"  ],  "public_sip_uri": "string",  "public_sip_uris": [    "string"  ],  "registration_domain": "string",  "registrar_sip_address": "string"}