Forum Discussion
Derived Trunk for Teams direct routing hosting model
fanzhangrob the documentation still needs a bit of work, but the derived trunk model works as expected.
In the carrier tenant, you just need to ensure TLS & SIP Options are active/working in both directions (can be viewed via the Admin center)
Once active, the following needs to be done:
1. Register a customer sub-domain of the carrier trunk FQDN in the customer's 365 tenant (EG: Sbc1.customers.adatum.biz where Sbc1 is the customer subdomain)
2. Create the voice routes & add these to a voice routing policy in the customer's teams tenant
As long as the subdomain is added to the customer's tenant and verified, S4Bonline powershell will allow the FQDN to be added to the voice route.
There's no need to use New-CSOnlinePSTNGateway.
swerner I am also trying to configure the customer's tenant and confused with the documentation. Your assistance would be really helpful, since you have a working scenario.
I am confused at the point of a voice routing creation. If I execute the command on a customer's tenant:
New-CsOnlineVoiceRoute -Name “Example” -NumberPattern ‘^\+\d+’ -OnlinePstnGatewayList sbc1.example.com -Priority 1 -OnlinePstnUsages “Example”
I am getting an error, that it cannot find the specified PSTN usage. Could you please be so kind to help me with this?
P.S. The customer's subdomain has been created and added to the configuration.
Thank you in advance.
- seanwernerOct 08, 2019Copper Contributor
Hi Vasileios_T,
Before you can add the Voice Routes, you need to add the tenant-specific sub-domain to the customer's Office 365 tenant, as an additional domain.
EG:
Carrier: hosted.example.com
Cust 1: cust1.hosted.example.com
Once you've added the sub-domain for the customer & added the TXT record to the carrier's DNS to authorise the sub-domain addition, you then create a dummy user within the new domain, with a S4B Online license at least.
EG:
test.user@cust1.hosted.example.com - licensed with E3/E5 etc.
The license only needs to be assigned for 30/60 minutes while the platform activates the domain.
Following this, you should then be able to create the voice routes etc. as you've attempted.
- godrilFeb 23, 2020Brass Contributor
Hi seanwerner
sorry for replying old thread. I am curious with the part where you assigned E1/E3 + PS on dummy user at derived subdomain inside customer tenant. As I am sure that I have two tenants with derived domain that didnt need to enable these licenses since early 2019. Is this latest requirement from MS?
- TeamsDRJun 11, 2020Copper Contributor
godril I tested this to see if you could assign just the E3 license to activate then remove the license, this stopped functions of the Direct routing from working, e.g. Outbound CLI.
FYI: you only need to assign an E3/E5 license not the phone system license to this dummy user on the subdomain, this is to activate this domain. never tried it with an E1 (does it work?)
- Vasileios_TOct 09, 2019Copper ContributorHello,
Thank you for your help and time.
The customer's subdomain already added and activated. Also, I didn't remove the licensed user, but still face the same issue when I am trying to create a new online voice route.
I execute the command in powershell using the customer's global admin details:
New-CsOnlineVoiceRoute -Identity“Example” -NumberPattern ‘^\+\d+’ -OnlinePstnGatewayList sbc1.example.com -Priority 1 -OnlinePstnUsages “Example”
The first error appears, indicating that it cannot find the specified PSTN usage.
If I define PSTN usage by executing the command below and try to create online voice route again, I receive an error that it cannot find the specified gateway.
Set-CsOnlinePstnUsage -Identity Global -Usage @{Add="Example"}
Could you please suggest what is wrong?
Thank you once again. - fanzhangrobOct 08, 2019Copper Contributor
Thanks for your help. I have done exactly all the steps you described. As shown in my previous reply the domain sbc30 has been added and shown in the 'DoaminUrlMap' from the command 'Get-CsTenant' . However I still failed on the 'Set-CsOnlineVoiceRoute' command.
- camilocucanchonApr 30, 2021Copper Contributor
Hello, you could fix this error, I have the same problem as you. Thank youfanzhangrob