enable_sip_trunking set to true, a WireGuard Interface carries its peers’ SIP traffic to Telnyx inside the tunnel. The peer configuration adds the Telnyx SIP prefixes to AllowedIPs, so traffic to sip.telnyx.com and sip.telnyx.eu goes via the interface instead of the peer’s default route.
Setup
-
Create the interface with
enable_sip_trunkingset totrue. Interfaces have no update operation, so set the flag at creation: -
Wait for
provisioned, create a peer, and retrieve its configuration, as in the Quick Start.AllowedIPsnow lists the Telnyx SIP prefixes after the interface subnet:The list above is abbreviated. Load the configuration as returned.
Verify
The first hop tosip.telnyx.com is the interface address: