Telnyx SIP Trunk With a Hosted PBX: Setup and Testing

Tom Reed · Updated 3 December 2026
To use Telnyx VoIP with a hosted PBX, create a SIP connection in Telnyx, put your numbers on it and add it to an Outbound Voice Profile. Then connect it to SessionPBX. A credentials connection is the simplest choice. An API key is optional, and it only saves you typing.
This guide is for teams and MSPs that already have a Telnyx account and want a hosted phone system on top. It covers the decisions on the Telnyx side and links our docs for the exact clicks. It's written by the SessionPBX team. If you're still deciding who owns each layer, start with bring your own carrier. If your numbers are on Twilio, read the Twilio version of this guide.
Which Telnyx connection type should you choose?
Telnyx lets you create a SIP connection with credentials, IP address or FQDN authentication. They differ in how Telnyx recognises your calls:
| Connection type | How Telnyx recognises SessionPBX | What to know |
|---|---|---|
| Credentials | A SIP username and password. SessionPBX registers to Telnyx. | Doesn't depend on a shared address. This is the one to start with. |
| IP address | Your SessionPBX region's IP address | Every workspace in a region sends calls from the same address, so a second connection can clash with the first. |
| FQDN | A domain name set on the Telnyx connection | Set up like the IP option: you enter your SessionPBX region's address as the inbound destination. |
Why start with credentials? Telnyx lets several connections share one IP address only when each is also identified by a tech prefix or token. SessionPBX doesn't add either yet. If Telnyx shows a Termination Endpoint error when you add a connection to an Outbound Voice Profile, another connection already uses that address, and a credentials connection avoids the problem.
For a credentials connection, note the SIP username and password in Telnyx. You'll enter them in SessionPBX, and Register to this carrier stays on. For the trade-offs between registering and IP authentication on any carrier, see our carrier-neutral checklist.
What goes in the Outbound Voice Profile?
A Telnyx Outbound Voice Profile decides where outbound calls can go. Set it up in this order:
- Create the Outbound Voice Profile.
- Add your SIP connection to it.
- Allow every country your team will dial.
- Assign your Telnyx numbers to the connection.
The country list is the step people forget. The profile has to allow every country you'll call, so check it whenever your team starts calling somewhere new. Telnyx explains the profile settings in its Outbound Voice Profiles article.
Which Telnyx regional proxy should you use?
Telnyx runs regional SIP proxies, and you choose the one nearest your SessionPBX region:
- US: sip.telnyx.com
- Europe: sip.telnyx.eu
- Asia (beta): sip.telnyx.asia
Use Europe for a London workspace and the US for New York. The SessionPBX Telnyx template fills in sip.telnyx.com, so if your workspace is in London, change the host to sip.telnyx.eu. For IP or FQDN connections, also choose the nearest inbound SIP region in Telnyx, and give Telnyx the SessionPBX address for the region your workspace is hosted in. Those addresses are listed in the Telnyx carrier guide.

Do you need a Telnyx API key?
No. A Telnyx API key is optional. It lets SessionPBX read your Telnyx account so you don't have to type everything in.
- With a key: create an API key under API Keys in Telnyx, paste it into API key (V2) in SessionPBX and select Connect account. SessionPBX lists your numbers and fills in the SIP host and transport from your connection where Telnyx provides them.
- Without a key: enter your numbers yourself, one per line, in international format.
Either way, you can still pick the connection type and fill in the credentials yourself.
How do you add the Telnyx trunk in SessionPBX?
The steps in SessionPBX are short:
- Open Call Routing, then SIP trunks, and select Add trunk.
- Name the trunk and choose Telnyx as the provider. If you have an API key, connect your account here.
- Check Connection: the template fills in the host, port and transport. Leave Direction on Both directions.
- Set Authentication: for a credentials connection, keep Username and password, enter the SIP credentials and leave Register to this carrier on. For an IP connection, choose By our IP address and list both signalling IPs for your Telnyx region.
- Check Inbound for your numbers and set Outbound to a number on this Telnyx account.
- Select Create trunk.
For an IP connection, use the signalling IPs from Telnyx's SIP information page, not its webhook addresses. The Telnyx carrier guide walks through each field.
Once the trunk exists, use Inbound number routing to choose where each number rings: everyone, a team member, a ring group, a call queue or a call flow. Outbound calling is off for new members, so turn on Outbound PSTN for each member who needs it. Members then call out in international format, and SessionPBX sends the number to Telnyx that way. They make and take those calls in the team apps for iOS, Android and desktop.

How do you check a Telnyx trunk works?
Start with what you can see, before anyone relies on the line:
- The trunk's Enabled switch is on in the BYO SIP trunks list. A new trunk is enabled as soon as it's created.
- On a credentials connection, SessionPBX has registered to Telnyx. Confirm this before you go further.
- The Outbound Voice Profile lists the connection and every country you'll dial.
- Your numbers are assigned to the connection in Telnyx and listed under Inbound in SessionPBX.
- Outbound PSTN is on for at least one member.
When those line up, work through live traffic in the same order as our docs: an outside phone to one of your Telnyx numbers, then one member out to a public number. Check that the right extensions ring and that audio works both ways. If you reach an IVR, check that key presses register. SessionPBX sends and receives them as RFC 2833 telephone events. Use the SessionPBX call log and Telnyx's own records to see where a failed call stopped.
Why do Telnyx trunk calls fail, and what do you check first?
Most failures come down to a few things:
- Inbound calls never arrive: check the carrier destination, the allowed source IPs, the port and the transport. The carrier should send to UDP port 5060 or TLS port 5061.
- Outbound calls fail: check the country is on the Outbound Voice Profile, and that the connection credentials match in SessionPBX and Telnyx.
- A Termination Endpoint error in Telnyx: another connection already uses your SessionPBX address. Use a credentials connection.
- Some numbers fail: check they're in international format.
If none of these explains it, note the time of the call, the number you called from and the number you called before you contact support.
FAQ
Is Telnyx a SIP trunk provider?
Yes. Telnyx supplies calling over SIP connections, but it doesn't run your phone system. There are no extensions, ring groups, queues or call flows in a Telnyx connection on its own. Pair it with a hosted PBX such as SessionPBX so your team has a working business phone system.
Should I use credentials or IP authentication with Telnyx?
Start with credentials. SessionPBX registers to Telnyx with your SIP username and password. With IP authentication, every workspace in a SessionPBX region shares one address, and Telnyx only allows several connections to share an address when each also has a tech prefix or token.
Do I need a Telnyx API key to connect SessionPBX?
No, it's optional. A key lets SessionPBX list your numbers and fill in connection details where Telnyx provides them. Without one, you enter your numbers by hand in international format and fill in the connection settings yourself.
Which Telnyx proxy should I use?
Use the region nearest your SessionPBX region: the Europe proxy for a London workspace and the US proxy for New York. The Telnyx template fills in the US host, and you can change it to the Europe host if your workspace is in London.
Can I text from the same Telnyx number?
Texting is separate from the voice trunk described here. Our post on texting from Telnyx numbers explains how that connection works. Your voice trunk and calls work the same either way.
Sources
Telnyx settings follow the SessionTalk Telnyx guide, which was checked against Telnyx's published documentation on 17 November 2026. We re-read the guide on 3 December 2026. SessionPBX field names come from the Add SIP trunk wizard. If Telnyx shows a different value in your account, use theirs.
- Telnyx: How to configure a SIP trunk
- Telnyx: More about Outbound Voice Profiles
- SessionTalk: Connect Telnyx SIP trunk to SessionPBX
Put your Telnyx numbers on a phone system your team can use
Put your Telnyx numbers on a phone system your team can use. Connect Telnyx to SessionPBX, and get the SessionTalk apps for iOS, Android and desktop.