Last updated
What is Telnyx SIP trunking used for in a Bolna voice agent?
A Telnyx SIP connection lets a Bolna voice agent answer calls on your Telnyx numbers and place outbound calls through Telnyx, with Telnyx carrying and billing the minutes. Bolna has a Telnyx preset, so most of the Bolna side is filled in for you. On the Telnyx side you create an FQDN SIP connection pointed at Bolna and attach an Outbound Voice Profile that sets where calls can go.
How do I set up a Telnyx SIP trunk with Bolna?
- In the Telnyx Mission Control Portal, open Voice Suite > SIP Trunking, click Create SIP Connection and choose FQDN as the connection type.
- On Authentication and routing, add the FQDN
trunk.bolna.aion port5060with DNS record typeA. Set outbound authentication to Credentials and save the username and password. - On Inbound, pick a SIP region and note it, keep the transport at
UDPorTCP(not TLS), and turn offG722andG729so onlyG711UandG711Aremain. - On Outbound, attach an Outbound Voice Profile with the countries your agent calls under Allowed Destinations. Then assign your numbers to the connection under Phone Numbers > My Numbers.
- In Bolna, under Deploy, open SIP Trunks, click Create trunk and pick Telnyx. Add the two IPs of your Telnyx SIP region, enter the Telnyx username and password under Carrier credentials (optional), add your numbers in E.164 format and click Create trunk.
- On the trunk's Connection tab, turn on Dial with leading plus, since Telnyx expects numbers in
+E.164format.
The full walkthrough is in the Telnyx SIP trunk setup guide in the Bolna docs.
Which Telnyx IPs does Bolna need?
Add the two IPs of the SIP region you chose on the Telnyx connection.
| Telnyx SIP region | IP address 1 | IP address 2 |
|---|---|---|
| US | 192.76.120.10 | 64.16.250.10 |
| Europe | 185.246.41.140 | 185.246.41.141 |
| Australia | 103.115.244.145 | 103.115.244.146 |
| Canada | 192.76.120.31 | 64.16.250.13 |
| Middle East | 185.246.42.128 | 185.246.42.129 |
| Asia (Beta) | 103.115.244.158 | 103.115.244.159 |
On the Telnyx side, the connection points at trunk.bolna.ai on port 5060, and audio uses PCMU or PCMA over UDP or TCP.
What can you build with Telnyx SIP trunking and Bolna?
AI agents on numbers you already own. Assign existing Telnyx numbers to the connection and pick a Bolna agent for each one on the trunk's Numbers tab, without moving the numbers.
Outbound calls in the countries you choose. The Outbound Voice Profile controls which destinations your agent can call. Telnyx needs Level 2 verification before many outbound destinations can be enabled.
Regional routing. Pick the Telnyx SIP region closest to your callers, such as Europe or Australia, and add that region's IPs in Bolna.
Batch campaigns at your Telnyx rates. Set the agent's Telephony Provider to SIP Trunk and calls go out through your Telnyx connection. For other carriers, see Twilio SIP trunking or the generic SIP trunk page.
