Forum Discussion
Direct Routing Hosting Model
Hi ASharpie
In your example, you wouldn't use sbc1.dr.domain.com when doing new-csonlinevoiceroute.
This is the carrier domain CsOnlinePSTNGateway.
In fact, if possible I would simplify it if you can. Just use sbc1.domain.com in the carrier domain.
Then, in the customer tenant, new-csonlinevoiceroute would be customer1.sbc1.domain.com. It will take the derived trunk from sbc1.domain.com.
You will need public A DNS records for customer1.sbc1.domain.com to point to the public IP of sbc1.domain.com
Of course, you'll need a user in the customer tenant assigned to the domain customer1.sbc1.domain.com with an E1\E3 or E5 license in order to be able to run the new-csonlinevoiceroute cmdlet.
I think taking away 1 of the sub domains if you can might simplify it if possible. if not, then your customer domain will need be customer1.sbc1.dr.domain.com, not customer1.dr.domain.com as it won't get the derived settings from the OnlineGateway as that's sbc1.dr.domain.com
Hope that helps.
Hi fowler_23
Hi fowler_23
Thanks for your reply. much appreciated.
I think my confusion here is around the OnlinePSTNGateway fqdn so you are basically saying that needs to match the carrier base domain? I was under the impression you could call this anything you liked provided it was a subdomain of the carrier base domain, so sbc1.carrierdomain.com.
The Voice route in the customer 1 tenant would point to customer1.carrierdomain.com as the PSTN Gateway List and the trunk would be derived from carrierdomain.com.
Thanks!
- fowler_23Sep 17, 2020Iron Contributor
Let me give you my setup which might help
Carrier Domain: contoso.com
Carrier Sub Domain: voice.contoso.com
Carrier OnlinePSTNGateway: voice.contoso.com
Customer Domain: customer.com
Customer Sub Domain: customer1.voice.contoso.com
CSOnlineVoiceRoute: customer1.voice.contoso.com
customer1.voice.contoso.com > Public A Record > Pointing to IP of voice.contoso.com
Customer VoiceRoute picks up derived trunk from voice.contoso.com
Regards
- ASharpieSep 17, 2020Copper Contributor
Hi fowler_23
Thanks and this is basically what I have however I do not have a carrier subdomain defined do I need that? I hadn't read anywhere you needed that, I understood just a carrier base domain and tenant subdomains.
So when I create the carrier OnlinePSTNGateway I use the base domain as the FQDN .
When I define the voice route in the customer tenant do I still have to add the -OnlinePSTNGatewayList parameter and add the FQDN of the OnlinePSTNGateway or is this derived some how auto-magically?
Thanks again for your continued assistance!
- fowler_23Sep 17, 2020Iron Contributor
If you refer to https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
and under the section Register a Base Domain and subdomains. Their example has the carrier base domain as adatum.biz and then an additional domain customers.adatum.biz so my example follows Microsoft's logic.
No - you don't need to add PSTNOnlineGateway parameter to the customer tenant. That same document again. Search for Create a trunk and provision user. That gives some information there about derived trunks.