Many companies want to add AI voice routing and call recording with scoring to their customer service, and they get stuck on the same thing: the PBX still works, the contract has not ended, or the PBX serves the whole building, so it cannot simply be replaced.
You can keep the PBX. A common approach today is to layer a call platform on top of the old PBX with SIP, send customer service calls to it, and let all other calls go through the PBX as before. This article covers the two main ways to set this up, what equipment older lines need, and the limits of relying on SIP alone, so you know what to ask before you talk to vendors.
Two kinds of "CTI": controlling the PBX, or layering on top of it
In Taiwan, "CTI" is used broadly and often means an entire contact center system. Technically, there are two very different approaches.
Traditional CTI (computer telephony integration) has a computer read and control the PBX through a proprietary interface from the PBX vendor, such as CSTA or TAPI: which extension is on a call, who pressed hold, transferring a call to a given extension. The calls still run inside the PBX, and the computer only controls it remotely.
The other approach uses SIP to layer an independent call platform on top of the PBX, often called an overlay, or simply grouped under CCaaS (cloud contact center). The call audio and signaling actually pass through this platform, queuing, call distribution and recording all happen on the platform, and the PBX only hands calls over or takes them back.
| Comparison | Controlling the PBX through CSTA or TAPI | Layering a platform with SIP |
|---|---|---|
| Which layer of the PBX it touches | The PBX control interface | Only the SIP trunk or gateway |
| Can see desk phone status | Yes | No |
| Who handles the call | The PBX | The platform |
| Dependence on the PBX vendor | Heavy; switching brands or upgrading often means redoing the integration | Lighter; the PBX only needs to support SIP or connect through a gateway |
| Best for | Keeping existing phones and PBX features | Adding AI routing, queuing and call scoring without touching the PBX |
The rest of this article covers the second approach.
Setup 1: In front of the PBX
External lines go to the call platform first. The platform handles voice routing and queuing, then transfers calls meant for regular staff into the PBX.
With this setup the platform sees every inbound call, AI routing can apply to all calls, and reporting is the most complete. The cost is that the platform becomes the path every call must take, so you need to confirm its availability and redundancy. The PBX also has to be able to receive calls from the platform through a SIP trunk or a gateway. When the platform transfers a call to a PBX extension, it only knows the call was sent. It cannot see whether the extension answered or who it was transferred to next, so in practice this is a blind transfer.
If the external lines are E1, a common approach is to route by called number on the gateway: customer service numbers go to the platform, and other numbers go to the PBX as before. That way only the customer service numbers sit in front of the PBX, and everyone else's calls are not affected at all.
Setup 2: Behind the PBX
The PBX still answers all external lines and only forwards specific numbers, IVR menu options or extension groups to the platform. For example, in the PBX IVR menu, "press 1 for order inquiries, press 2 for returns and exchanges" goes to the platform, while "press 9 for the operator" stays as is.
This setup requires the fewest changes. You only change the transfer destination in the PBX settings, other extensions and flows stay the same, and it is the easiest way to trial a single line first. The limit is that the platform only sees calls the PBX sends to it. If the PBX and the platform are connected over analog lines (FXO), each port carries one call at a time, and transferring a call back to the PBX usually relies on hook flash. Support varies by PBX and it is often unreliable in practice, so it is best to plan for routing to be finished when the caller presses a key, without depending on transfers back.
There is also a recording and quality-review-only approach: the PBX or gateway sends a copy of the call audio to an external system (for example SIPREC or line mirroring), and the call itself never passes through the external platform. It cannot route or distribute calls, and this article does not go into it.
What equipment older lines need
A SIP platform only speaks SIP. If the PBX or lines are not SIP, you need a gateway in between to convert. Several vendors make FXO, FXS and E1 gateways; a common one in contact centers is AudioCodes:
| Your current setup | Equipment to add | Notes |
|---|---|---|
| IP PBX (such as 3CX) or an existing SIP trunk | Usually nothing | Add a SIP trunk on the IP PBX that points to the platform |
| Traditional PBX, connecting from its analog extension ports | FXO gateway | The FXO side plugs into a PBX extension port that provides dial tone, like a phone |
| Connecting analog phones or fax machines to the SIP platform | FXS gateway | The FXS side provides dial tone to analog phones |
| External lines are E1 or PRI digital trunks | E1 to SIP gateway | One E1 port carries up to 30 call channels and can route by number |
FXO and FXS are easy to mix up. The way to remember it: FXS provides dial tone, FXO receives dial tone. A PBX analog extension port is FXS, so the gateway that connects to it uses FXO.
Whether you need to change numbers, SIP registration versus IP authentication, and how to set codecs and firewalls are covered in Do You Need a New Phone Number for Phone AI? PBX, IP PBX, Landline and SIP Integration Explained.
Three things SIP alone cannot do
No visibility into desk phone status. The platform is not inside the PBX, so it cannot see desk phones being picked up, put on hold or transferred internally. If managers need reports that include these actions, that data only exists in the PBX's own records.
Agents must be on the platform for queuing and automatic call distribution to work. For the platform to know who is free and who gets the next call, agents need to be on the platform, answering with the platform's softphone. If the platform only transfers calls back to extensions on the old PBX, it becomes a blind transfer. The platform does not know who is talking or who is free, so queuing and distribution cannot work.
Real-time assist needs live call audio. To give agents prompts during a call or produce a live transcript, the platform needs live audio from both sides. When agents use the platform's softphone, the audio is already on the platform. When the call is transferred to a desk phone on the old PBX, the audio leaves the platform.
So in practice, a common combination is to keep the PBX and regular staff extensions as they are, and move customer service agents to the platform's softphone.
How to choose
| Your situation | Recommended setup |
|---|---|
| You want every inbound call to go through AI routing first, and the PBX supports SIP | In front of the PBX |
| External lines are E1 and you only want to take over customer service numbers | In front of the PBX, routing by number on the gateway |
| The PBX cannot be changed, and you only want to take over a few IVR menu options first | Behind the PBX |
| You only need recording and quality review, without routing or distribution | Have the PBX or gateway copy the audio to a quality review system |
| Agents must use their current desk phones, and you need queuing and distribution | First evaluate solutions that control the PBX through CSTA or TAPI |
Which setups Pathors supports
Pathors Contact Center uses the SIP overlay approach. Inbound calls come into the platform over SIP, and the platform provides an IVR menu, queuing and overflow, hold, blind transfer and consult transfer. Agents answer with a softphone in a Chrome extension, on the web or in a mobile app. One existing customer has E1 external lines, and the AudioCodes gateway in the customer's server room routes by number, sending only the designated numbers to Pathors while other numbers work as before.
If your agents must stay on their current desk phones and you need queuing and distribution based on phone status, the Pathors approach is not a good fit, and you should look for a solution that integrates through the PBX control interface.
First decide where the platform sits relative to the PBX, then which gateway your lines need, and finally whether agents will move to a softphone. Once these three are settled, conversations with any vendor go much faster. If you are considering replacing the PBX altogether, see PBX upgrade: keep it, go IP PBX, or move to CTI?; the Pathors approach is at Pathors Contact Center.
Further reading:
Frequently Asked Questions
Do I have to replace my old PBX to use AI customer service?
Not necessarily. As long as the PBX supports SIP, or you add a gateway in between, you can connect customer service calls to an AI customer service platform and leave other extensions as they are.
What is the difference between FXO and FXS?
FXS provides dial tone and connects to analog phones or fax machines. FXO receives dial tone and connects to a PBX extension port or a carrier line. To connect a traditional PBX's analog extension ports to a SIP platform, you use an FXO gateway.
What is a SIP trunk?
A SIP trunk is a phone trunk carried over the SIP protocol, replacing physical analog lines or E1. IP PBXs and cloud contact center platforms usually connect to each other, or to carriers, through SIP trunks.
After connecting AI customer service over SIP, can agents keep using their desk phones?
They can answer calls, but the platform transfers calls to the desk phone extension and cannot see states such as answered or on hold, and queuing and automatic call distribution cannot work. To use queuing, distribution and real-time assist, agents are better off moving to the platform's softphone.
Our external lines are E1. Can we send only the customer service numbers to the new platform?
Yes. Route by called number on the E1 to SIP gateway: customer service numbers go to the new platform, and other numbers go to the PBX as before.




