What Is a SIP PBX? How It Works With SIP Trunks

Tom Reed · Updated 4 December 2026
A SIP PBX is the call-control layer of a business phone system. It sits between your team's SIP apps and a SIP trunk to the phone network, such as a Twilio or Telnyx trunk, and decides where each call goes. The trunk is the line; the apps are the endpoints; the PBX is the layer that ties them together.
This guide is for admins and MSPs who want a clear picture of those three layers before they connect a carrier to a hosted SIP PBX. It stays on what each layer does and how a call moves through them. It's written by the SessionPBX team. If you already have a Twilio or Telnyx account, our guide to bringing your own carrier to a hosted PBX covers who owns each part.
What is a SIP PBX?
A SIP PBX is a business phone system that uses the Session Initiation Protocol to set up and control calls. Its job is call control: it holds your extensions, and it applies the routing you set.
In SessionPBX, that includes:
- Members and short extensions, so colleagues can reach one another
- Inbound number routing, so each number can ring everyone, one member, a ring group, a queue or a call flow
- Ring groups, call queues, visual call flows and office hours
- A workspace your team signs into, rather than a box you run yourself
A SIP PBX does not supply the public phone network. That is the trunk's job.
What is a SIP trunk, and how is it different from the PBX?
A SIP trunk is the line between the PBX and a telephone carrier. You need one when people must receive calls on public phone numbers or dial numbers outside the workspace. SessionTalk uses a bring-your-own-carrier model: your carrier supplies the SIP service, and SessionTalk supplies the hosted phone-system features.
Twilio and Telnyx both work as that carrier layer. Elastic SIP Trunking is Twilio's SIP trunk service, and Telnyx supplies calling over SIP connections. In either case, the trunk carries the call; it does not give you extensions, ring groups, queues or call flows. Those stay on the PBX.
The SessionTalk SIP trunk docs walk through adding a trunk. For the carrier-specific setup, see our guides to a Twilio SIP trunk and a Telnyx SIP trunk.
What are SIP apps in this setup?
SIP apps are the endpoints: the places your team places and answers calls. In a SessionPBX workspace, team members use the SessionTalk apps for iOS, Android and desktop, signed in as extensions. They talk to the PBX, not directly to Twilio or Telnyx.
The apps are provisioned from the workspace, so people do not type trunk settings into a phone. For a wider look at softphones, desk phones and other devices that register to a PBX, see what a SIP endpoint is.

How do the three layers connect?
This is the path a call takes. The arrows are the SIP relationships, not a second phone system:
| Layer | Role | In this setup |
|---|---|---|
| SIP apps | Endpoints, where your team places and answers calls | SessionTalk apps on iOS, Android and desktop |
| SIP PBX | Call control: extensions, ring groups, queues and call flows | SessionPBX, a hosted SIP PBX |
| SIP trunk | The line to the public phone network | Your Twilio or Telnyx trunk |
In order, the flow is:
- A team member places or answers a call in the app.
- The SIP PBX applies the routing you set, such as an extension, a ring group, a queue or a call flow.
- If the call is to or from the public phone network, it leaves or arrives on the Twilio or Telnyx SIP trunk.
Calls between team members stay on SessionPBX and do not use the trunk. SIP signalling between the apps and SessionPBX uses TLS by default.
How does an inbound or outbound call travel?
Inbound. A caller dials a number on your Twilio or Telnyx account. The carrier sends the call to SessionPBX over the SIP trunk. SessionPBX matches the dialled number and follows Inbound number routing, so the right app or group rings.
Outbound. A member with Outbound PSTN turned on dials in international format from the app. SessionPBX sends the call to the trunk, and Twilio or Telnyx places it on the phone network. If you run more than one trunk, Outbound number rules pick the trunk by dialling prefix, and the longest matching prefix wins.
Both directions expect numbers in international format, with a plus sign and country code. Our guide to E.164 format for SIP trunks covers how to write them and what SessionPBX does with a leading 00.

When does a hosted SIP PBX with your own carrier make sense?
A hosted SIP PBX with bring-your-own-carrier is a good fit when all of these are true:
- You already have, or want, a Twilio or Telnyx account for calling
- You need call-control features, such as extensions, ring groups, queues, office hours and call flows
- Your team needs to call from apps on iOS, Android and desktop
- You want carrier service and invoices to stay with that Twilio or Telnyx account
- You do not want to run a SIP server yourself
That last point is a hosting choice, not a comparison of trunking models. MSPs weighing a platform against running their own SIP server can read our guide to a SIP server versus a hosted PBX platform. Our guide to SIP trunking and a cloud PBX covers a different decision from the layers in this post.
What should you have in place before you connect the trunk?
Work through this list so the three layers line up:
- A SessionPBX workspace in the region closest to your team: London, New York or Singapore
- A Twilio or Telnyx account, with a SIP trunk or SIP connection ready
- Inbound numbers entered in international format, and routing set for each one
- Outbound PSTN turned on for each member who needs to dial out
- The SessionTalk apps installed for the people who will take calls
FAQ
What is a SIP PBX?
A SIP PBX is a business phone system that uses SIP to set up and control calls. It holds extensions and applies the routing you set, such as ring groups, queues and call flows. It is not the line to the public phone network; that line is the SIP trunk.
What is the difference between a SIP trunk and a SIP PBX?
The SIP PBX is the call-control layer. The SIP trunk is the line that connects that PBX to a carrier such as Twilio or Telnyx, so people can receive calls on public phone numbers and dial numbers outside the workspace. You need both for a complete business phone system.
Do I still need SIP apps if I have a SIP PBX and a trunk?
Yes. The PBX and the trunk do not place or answer calls on their own. Your team needs SIP endpoints, such as the SessionTalk apps for iOS, Android and desktop, signed in as extensions. The apps talk to the PBX; the PBX talks to the trunk.
Can I use a Twilio or Telnyx account with a hosted SIP PBX?
Yes. SessionPBX is a hosted SIP PBX that uses a bring-your-own-carrier model, so you connect the Twilio or Telnyx account you already have. The carrier supplies the SIP service; SessionPBX supplies the phone-system features and the apps your team uses.
Do calls between colleagues use the SIP trunk?
No. Calls between team members stay on SessionPBX and do not use the Twilio or Telnyx trunk. The trunk is used when a call is to or from the public phone network.
Sources
The layer descriptions follow the SessionTalk SIP trunk docs and the live SessionPBX product page. We re-read both on 4 December 2026. Twilio and Telnyx are named as carriers you can connect; the field-level setup is in the carrier guides.
- SessionTalk: Connect a SIP trunk to SessionPBX
- SessionTalk: Connect Twilio Elastic SIP Trunking to SessionPBX
- SessionTalk: Connect Telnyx SIP trunk to SessionPBX
Put the three layers together
Put the three layers together. See how SessionPBX works as a hosted SIP PBX, then get the SessionTalk apps for iOS, Android and desktop.