07-31-2020 06:20 AM
07-31-2020 06:20 AM
We're setting up SIP trunks for Teams, using Direct Routing.
When a Teams user calls another Teams user, the call is handled "inside Teams" - it does not break out to our SBC.
Is it possible to change that behaviour, so all calls breaks out to our SBC, even between two Teams users?
07-31-2020 06:56 AM
I would take a look at this, I'm not sure if it will meet your requirements, normally we only bypass Teams when legal regulations need it (e.g. in India, some other countries)
07-31-2020 07:32 AM
The problem is that we combine Teams with another platform using Direct Routing (hosting model). Teams in "on the top", so to speak. So we have a feature rich PBX underneath, with desk phones, cell phones, advanced voice recording, statistics etc. And the users can then decide if inbound calls should be sent to their desk phone, cell phone, Teams, etc. (or a combination of those, and overflow, VM, etc., etc.).
But when Teams-to-Teams calls are not routed via the PSTN voice route/Direct Routing, we cannot control the call. Meaning our call rules are not used - so if Alice receives an inbound call, that normally goes to her cell phone, Teams and desk phone, that doesn't happen if it's another Teams user that calls her, because we don't get the call.
From the artickle you linked to (thanks, btw :-)), the location-based routing is configured on the PSTN gateway (SBC). But in the Direct Routing (hosting model) setup we only have a voice route and no SBC.
So my thoughts was if there was an option in Teams, to force all calls to break out - for us to return them to the destination user, if it's another Teams user.
07-31-2020 05:40 PM
Can you clarify what you mean by your "Direct Routing (hosted model)" doesn't have an SBC? Even if you were to do direct hosted with a carrier, there should still be an SBC involved. What's the output of Get-CsOnlinePstnGateway?
08-03-2020 01:28 AM
No, the "new" (not so new anymore) way does not require a PSTN gateway on the tenants. Running your command returns nothing.
"In the customer tenant, the carrier need only to add the derived trunk FQDN to the voice routing policies of the users. There is no need to run New-CSOnlinePSTNGateway for a trunk."
So there is only a voice route on the tenant, no SBC/PSTN gateway.