
Why do Microsoft Teams call transfers break with a PBX? Because Teams doesn't tell the PBX the call moved. In most Teams telephony integrations, the PBX still thinks the original user is on the call. They show busy until the transferred call ends, PBX call queues and ring groups skip them, and an unanswered transfer may never reach PBX voicemail.
If you run a PBX behind Microsoft Teams with Direct Routing, you've probably seen at least one of these tickets:
- "I transferred a call ten minutes ago and the PBX still shows me as busy."
- "Our queue keeps skipping people who are free."
- "A transferred call rang out and never went to voicemail."
- "I can't transfer to a colleague who doesn't have a phone number in Teams."
They look like four different problems. They usually have one cause: the transfer happened in Teams, and the PBX never heard about it. This guide explains what's going on at the SIP level, compares three common ways to handle transfers between Teams and a PBX, and shows how TeamMate Pro Transfer keeps the two in step.
How Teams handles a transfer on Direct Routing
With Direct Routing, calls between Teams and the outside world pass through a session border controller (SBC). When a Teams user clicks Transfer, the Teams client sends a SIP REFER to Microsoft's SIP proxy. Microsoft's Direct Routing SIP protocol documentation describes two ways the proxy can handle it:
- The SIP proxy handles the transfer itself. It acts as the Referee, terminates the REFER and creates a new INVITE for the transfer target. Microsoft uses this method when the SBC doesn't advertise support for REFER.
- The SIP proxy passes the REFER to the SBC. It acts as the Transferor and "expects the SBC to handle the Transfer fully." The SBC then sends a new INVITE for the transfer target back toward Microsoft. Microsoft uses this method when the SBC lists REFER in its supported methods, calls it "the preferred method for call transfers," and notes that call transfer without the SBC handling REFER isn't supported in media bypass mode.
Either way, the transfer is completed between Microsoft and the SBC. The PBX behind the SBC placed or received the original call, and from where it sits that call is still connected to the user who transferred it. Nothing in the standard flow tells the PBX that the call now belongs to someone else.
The four symptoms, explained
1. The user still shows busy on the PBX after transferring
This is the core problem. The PBX keeps the original call leg open, so the user who transferred the call looks busy for the whole length of the transferred call. A receptionist who transfers a 20-minute call is "on the phone" to the PBX for 20 minutes, even though they've already moved on.
2. Call queues and ring groups skip people who are free
PBX call queues, hunt groups and ring groups route around busy users. If a user shows busy because of a call they transferred away, inbound calls pass them over, and in a busy front office that can mean longer waits for callers and uneven workloads for staff. (This is about queues on the PBX. Microsoft Teams call queues are a separate feature.)
3. Unanswered transfers don't reach PBX voicemail
When a transfer happens outside the PBX, the PBX's no-answer rules never run. A transferred call that nobody picks up may not land in the recipient's PBX voicemail box, which is exactly where the caller and the business expect it to go.
4. Transfers to Teams users without a Direct Routing number
Not everyone in Teams has a Direct Routing number or a Teams Phone license. Users still want to search for a colleague by name and hand them the call. Microsoft's documentation shows that when the target is a Teams user, the Refer-To header carries Microsoft-specific parameters that identify the target user and tenant, not a phone number. Whatever handles the transfer has to know what to do with that.
Three common approaches compared
These aren't the only ways to integrate a PBX with Teams, but they're the three we see most often when service providers ask about transfers.
| Standard Teams transfer | Forward REFER to the PBX | Pro Transfer (TeamMate) | |
|---|---|---|---|
| Who handles the transfer | Teams | The PBX | The TeamMate SBC, keeping the PBX informed |
| Transferring user free right away on the PBX | No, busy for the length of the call | Yes, because the PBX handles it | Yes |
| PBX queues and ring groups route correctly | Can skip the transferring user | Yes | Yes |
| Unanswered transfers reach PBX voicemail | Can be missed | Yes | Yes |
| Attended (consultative) transfers | Yes, in Teams (PBX not told) | Only if the PBX sends the call back to Teams | Yes, with the PBX kept up to date |
| Transfer by name to Teams users with no Direct Routing number or Teams Phone license | PBX not told | Depends on how your PBX handles Microsoft's Refer-To | Yes, with one PBX routing rule |
Standard Teams transfer
This is what happens out of the box. Teams moves the call and the user experience in Teams is fine, but the PBX isn't told. Everything in the symptoms list above follows from that.
Forward REFER to the PBX
Here the REFER goes all the way to the PBX, so the PBX handles park and transfer and its own status stays accurate. The trade-offs, as described on our Pro Transfer page: attended transfers only work if the PBX sends the call back to Teams, and only the G.711 codec is supported. Microsoft also notes that the SBC must handle REFER messages up to 400 characters long and that Direct Routing rejects SIP requests that use Replaces headers, so the SBC and PBX configuration have to line up with Microsoft's rules.
Pro Transfer
Pro Transfer is a feature of TeamMate PBX Connector. The TeamMate session border controller handles the transfer and tells your PBX about it. Users can:
- Transfer by name to anyone in Teams, including people with no Direct Routing number or Teams Phone license.
- Transfer to a PBX extension, or to an outside number through the PBX, from the normal Teams call controls.
- Make consultative transfers, talking to the recipient first, with the PBX kept up to date throughout.
The result: the user who transferred the call is available again at once, queues and ring groups keep routing to people who are really free, and unanswered transfers go to PBX voicemail as they should.
What changes on the SIP side with Pro Transfer
For a Teams Direct Routing user, TeamMate rewrites transfers by name to other Direct Routing users so the PBX handles them like any other transfer.
Only one case needs a change on the PBX: a transfer to a Teams user who isn't on Direct Routing. For that, TeamMate sends the PBX a REFER whose Refer-To number starts with the prefix 0770 and points to the TeamMate edge. The PBX places the new call to that address, keeping the prefix, and TeamMate rebuilds the headers and completes the transfer in Teams. An optional x-refer-id parameter can be passed along.
That means Pro Transfer works with any PBX that can route a call by number prefix, which most SIP PBXs can. PBX Connector has been tested with more than 80 PBX types, and partners get step-by-step setup guides, including an Asterisk dialplan example, in the TeamMate knowledge base.
How to roll it out safely
Pro Transfer affects every transfer on a Direct Route, so we recommend three steps:
- Test on a separate Direct Route with a few test users.
- Add one PBX routing rule that sends calls with the 0770 prefix back to the TeamMate edge.
- Switch it on for your main Direct Route in the TeamMate portal once the test transfers work.
Related fixes for PBX and Teams users
Transfers are one place where Teams and a PBX can fall out of step. Presence is another. With Presence Sync and Presence Pause, PBX Connector shows users as busy in Teams while they're on a desk phone call, and stops PBX queue calls from ringing someone who's presenting in a Teams meeting. For the bigger picture, see how Microsoft Teams PBX integration works with TeamMate and PBX Connector vs SIP Trunk Connector.
Try Pro Transfer on your own PBX
TeamMate is a Microsoft ISV Partner, runs 100% on Microsoft Azure in 9 geographic regions, and is SOC 2 Type 2 certified. Service providers can start a free 30-day proof of concept and test Pro Transfer with their own PBX and users, or see Pro Transfer in more detail first.


