Skip to main content

Telnyx Calling: SIP Trunking — Documentation Index

SIP Trunking documentation within the Calling section of the Telnyx developer docs (https://developers.telnyx.com). Root index: https://developers.telnyx.com/llms.txt · Calling index: https://developers.telnyx.com/development/llms/calling-llms-txt.md · Full content for this subsection: https://developers.telnyx.com/development/llms/calling-sip-trunking-llms-full-txt.md

Getting Started

  • Overview: Overview of Telnyx SIP Trunking — buy numbers, create a SIP connection, configure authentication and routing, and place your first inbound/outbound call.

Authentication

  • Overview: SIP authentication methods supported by Telnyx SIP Trunking — credential, IP, FQDN, and token authentication. Compare and choose the right method.
  • IP Authentication Token: Use IP authentication tokens on Telnyx SIP Trunking to authenticate calls without a fixed allowlist. Generate tokens and include them in SIP INVITEs.
  • Tech Prefix: Authenticate Telnyx SIP Trunking calls with a tech prefix. Prepend a numeric prefix to the request URI to identify your account on outbound INVITEs.

Configuration

  • Caller ID Policy: Configure caller ID policy on Telnyx SIP Trunking connections. Allow, override, or block From and P-Asserted-Identity values on outbound calls.
  • Concurrent Call Limits: Set concurrent call limits on Telnyx SIP Trunking connections. Cap inbound and outbound channels per connection to protect capacity and control spend.
  • P-Charge-Info: Use the P-Charge-Info SIP header on Telnyx SIP Trunking to specify the billed number for outbound calls. Includes header format and behavior rules.
  • Outbound Voice Profiles for SIP trunking: Attach Outbound Voice Profiles to Telnyx SIP Trunking connections to control allowed destinations, rate limits, daily spend, and outbound routing.

Routing

  • Round Robin Routing: Distribute Telnyx SIP Trunking traffic evenly across multiple destinations using round-robin routing. Spread load between PBXes or geographic regions.
  • AnchorSite: Configure AnchorSite to control which Telnyx PoP handles media routing for SIP calls, with latency-based and manual selection modes.
  • Failover & Retries: Configure failover and retry behavior on Telnyx SIP Trunking. Route calls to backup destinations on SIP failure codes for high availability.

Network Configuration

  • IP Whitelisting: Whitelist your IP addresses on Telnyx SIP Trunking connections to authenticate calls without credentials. Includes allowed CIDR ranges, edge IPs, and AI services IPs.
  • SRV Records: Use SRV records to route SIP traffic to Telnyx with automatic failover. Configure DNS for sip._udp / sip._tcp and let your PBX resolve Telnyx edges.
  • STUN/TURN: Connect WebRTC and NAT-traversed SIP clients to Telnyx using STUN and TURN servers. Includes hostnames, ports, and authentication for media relays.

Features

  • Noise Suppression: Enable AI noise suppression on Telnyx SIP Trunking calls. Remove background noise from inbound or outbound audio for clearer phone conversations.
  • Jitter Buffer: Configure the adaptive jitter buffer on Telnyx SIP Trunking to smooth out RTP packet delay and improve voice quality on lossy or variable networks.
  • External Transfers: Use SIP REFER to transfer Telnyx SIP Trunking calls to external numbers. Configure your PBX or Voice API to hand off calls without bridging media.
  • SIP URI Calling: Place and receive SIP URI calls over Telnyx SIP Trunking. Dial endpoints by sip:user@domain instead of E.164 to connect VoIP systems directly.

STIR/SHAKEN

  • Attestation Behavior: How Telnyx assigns STIR/SHAKEN attestation levels (A, B, C) to outbound calls. Understand the criteria, signed identity headers, and downstream impact.
  • Hosted Certificate: Use a Telnyx hosted STIR/SHAKEN certificate to sign outbound calls without managing your own CA. Includes setup, certificate rotation, and verification.
  • SIP Header Parameters: Reference of STIR/SHAKEN SIP header parameters used by Telnyx — Identity, attest, origid, dest, and how to read and verify a signed identity header.

Emergency Calling

  • Dynamic E911: Provision Dynamic E911 on Telnyx SIP Trunking for VoIP emergency calling. Register caller locations dynamically and route 911 calls to the correct PSAP.

Troubleshooting

  • Response Codes: Reference of SIP response codes you’ll see on Telnyx SIP Trunking calls — 4xx client errors, 5xx server errors, 6xx global failures, and what they mean.

SIP Integrations Guides

  • Configuration Overview: Telnyx’s SIP trunking guide will help you configure your sip
  • LiveKit: Integrate Telnyx SIP Trunks with LiveKit for real-time audio and video applications. Includes Telnyx configuration and LiveKit SIP gateway setup steps.

API Reference (SIP Trunking)

Connections

  • List connections: Returns a list of your connections irrespective of type.
  • Retrieve a connection: Retrieves the high-level details of an existing connection. To retrieve specific authentication information, use the endpoint for the specific connection type.

Credential Connections

IPs

IP Connections

FQDNs

FQDN Connections

UAC Connections

  • List UAC connections: Returns a list of your UAC connections. A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite of a standard SIP trunk, where the PBX…
  • Create a UAC connection: Creates a UAC connection. A UAC (User Agent Client) Connection registers Telnyx to your PBX — the opposite of a standard SIP trunk, where the PBX registers to…
  • Retrieve a UAC connection: Retrieves the details of an existing UAC connection.
  • Update a UAC connection: Updates settings of an existing UAC connection.
  • Delete a UAC connection: Deletes an existing UAC connection.
  • Check a UAC Connection Registration Status: Checks the registration status for a UAC connection (registration_status) as well as the timestamp for the last SIP registration event (`registration_status_…

Outbound Voice Profiles

Dialogflow Integration

External Connections

Call Recordings

Media Storage API