Just a quick one here. I was busy setting up some Voice Routes and Online Voice Routing Policies for Direct Routing but it wasn’t behaving as I expected. I had purposely locked down my account I was using to only allow UK calls. But when making a call to Microsoft US, it worked. Odd!
I double checked the routing I had in place and it was correct. Strange…
I then made sure I didn’t have a Calling Plan assigned (as that will be used as a last resort)… I didn’t.
When I checked the SBC I was using for Direct Routing I could see the call. But, when I looked closer I could see the call was coming from the CCE, not the Teams gateway:
Checking the Call Analytics I can see two separate calls for the same call (one SfB side, one Teams side):
To prove 100% this was what it was, I used the InternationalCallsDisallowed Voice Routing Policy:
Grant-CsVoiceRoutingPolicy -PolicyName InternationalCallsDisallowed -Identity $user
(Voice Routing Policies are for SfBO (Calling Plans, CCE, Hybrid) and Online Voice Routing Policies are for Teams Direct Routing – clear as mud, I know).
After setting this the calls failed as expected. Not sure if this is intended, but it looks like not just Calling Plans but Hybrid/CCE can be used as a last resort!