Teams Derived Trunk PS Configuration

%3CLINGO-SUB%20id%3D%22lingo-sub-2085422%22%20slang%3D%22en-US%22%3ETeams%20Derived%20Trunk%20PS%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2085422%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20seen%20several%20posts%20on%20this%20topic%20but%20none%20of%20them%20seem%20to%20work%20in%20our%20environment%3A%3C%2FP%3E%3CP%3ECarrier%20Tenant%3C%2FP%3E%3CP%3Esbc01.us-west1.teams.carrier.io%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECustomer%20Tenant%3C%2FP%3E%3CP%3E1234.sbc01.us-west1.teams.carrier.io%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20all%20works%20fine%20if%20I%20create%20the%20OnlinePSTNGateway%20in%20the%20customer%20tenant.%26nbsp%3B%20My%20understanding%20though%2C%20is%20that%20I%20can%20simply%20specify%20the%20carrier%20FQDN%20during%20Set-CsOnlineVoiceRoute.%26nbsp%3B%20However%2C%20when%20I%20do%20that%2C%20the%20customer%20tenant%20complains%20that%20it%20can't%20find%20the%20carrier%20SBC.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EPS%20C%3A%5CWindows%5Csystem32%26gt%3B%20get-csonlinesipdomain%0A%0AName%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Status%20%0A----%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20------%20%0A11001446.sbc01.us-south1.teams.carrier.io%20Enabled%0A11001446.sbc01.us-west1.teams.carrier.io%20%20Enabled%0Atenant.net%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Enabled%0Atenant.onmicrosoft.com%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Enabled%0A%0A%0A%0APS%20C%3A%5CWindows%5Csystem32%26gt%3B%20Set-CsOnlineVoiceRoute%20-id%20%22Domestic%22%20-NumberPattern%20%22.*%22%20-OnlinePstnGatewayList%20sbc01.us-west1.teams.carrier.io%20-OnlinePstnUsages%20%22Carrier%22%0ACannot%20find%20specified%20Gateway%20%22sbc01.us-west1.teams.carrier.io%22.%0A%20%20%20%20%2B%20CategoryInfo%20%20%20%20%20%20%20%20%20%20%3A%20InvalidArgument%3A%20(Description%3D%3BNu...*%3BName%3DDomestic%3AOnlineRoute)%20%5BSet-CsOnlineVoiceRoute%5D%2C%20ArgumentException%0A%20%20%20%20%2B%20FullyQualifiedErrorId%20%3A%20CustomValidationFailed%2CMicrosoft.Rtc.Management.Internal.SetOnlineVoiceRouteCmdlet%0A%20%20%20%20%2B%20PSComputerName%20%20%20%20%20%20%20%20%3A%20api.interfaces.records.teams.microsoft.com%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2085422%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ebest%20practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2086504%22%20slang%3D%22en-US%22%3ERE%3A%20Teams%20Derived%20Trunk%20PS%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2086504%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%3C%2FLINGO-BODY%3E
Frequent Visitor

I've seen several posts on this topic but none of them seem to work in our environment:

Carrier Tenant

sbc01.us-west1.teams.carrier.io

 

Customer Tenant

1234.sbc01.us-west1.teams.carrier.io

 

That all works fine if I create the OnlinePSTNGateway in the customer tenant.  My understanding though, is that I can simply specify the carrier FQDN during Set-CsOnlineVoiceRoute.  However, when I do that, the customer tenant complains that it can't find the carrier SBC.

 

 

PS C:\Windows\system32> get-csonlinesipdomain

Name                                      Status 
----                                      ------ 
11001446.sbc01.us-south1.teams.carrier.io Enabled
11001446.sbc01.us-west1.teams.carrier.io  Enabled
tenant.net                                 Enabled
tenant.onmicrosoft.com                     Enabled



PS C:\Windows\system32> Set-CsOnlineVoiceRoute -id "Domestic" -NumberPattern ".*" -OnlinePstnGatewayList sbc01.us-west1.teams.carrier.io -OnlinePstnUsages "Carrier"
Cannot find specified Gateway "sbc01.us-west1.teams.carrier.io".
    + CategoryInfo          : InvalidArgument: (Description=;Nu...*;Name=Domestic:OnlineRoute) [Set-CsOnlineVoiceRoute], ArgumentException
    + FullyQualifiedErrorId : CustomValidationFailed,Microsoft.Rtc.Management.Internal.SetOnlineVoiceRouteCmdlet
    + PSComputerName        : api.interfaces.records.teams.microsoft.com

 

 

 

2 Replies

Hi,

 

I guess that the "sbc01.us-west1.teams.carrier.io" is a SBC that is provided by your carrier and they are using something called Super Trunk, that means that they have one trunk for all their customers between themselves and Microsoft.

 

So the high level setup for you would be:

  1. Add us-west1.teams.carrier.io as a domain in your Office 365 tenant. You have to send some DNS information to your carrier so they can add it in their DNS.
  2. Verify the domain and add a users with any license (E1, E3, E5) and that new domain in their username.
  3. Add PSTN Usage (New-CsOnlinePstnUsage), VoiceRoute (New-CsOnlineVoiceRoute),  VoiceRoutePolicys (New-CsOnlineVoiceRoutingPolicy) and Calling Policy (New-CsTeamsCallingPolicy)
  4. Assign VoiceRoutePolicy (Grant-CsOnlineVoiceRoutingPolicy ) and Calling Policy (Grant-CsTeamsCallingPolicy) to a user and Enable Enterprise Voice with a LineURI (Set-CsUser).