09-16-2020 09:53 AM
09-16-2020 09:53 AM
Can someone tell me when I create a voice route with new-csonlinevoiceroute does the -OnlinePSTNGateway parameter need to match the name of the subdomain created that was based on the carrier domain?
For example I have a subdomain of customer1.dr.domain.com in the customer tenant environment that has been validated and activated and we have dr.domain.com in the carrier tenant for the base domain which has also been activated and validated.
In the carrier tenant we have run the New-CsOnlinePSTNGateway -Fqdn sbc1.dr.domain.com -SipSignallingPort 5061 -MaxConcurrentSessions 2000 -MediaBypass $true -Enabled $true
and I can see those SBCs in the carrier tenant.
However when we run the new-csonlinevoiceroute using the fqdn of sbc1.dr.domain.com in the customer tenant we get an error stating cannot find the specified gateway. My question is do we need to run the new-csonlinevoiceroute and use the fqdn of customer1.dr.domain.com which will resolve to the IP address of the SBC. If that is correct that FQDN doesn't match the SBC name we configured of sbc1.dr.domain.com but will it still work?
Confused! and the documentation is not clear. Could anyone please point me in the right direction?
09-16-2020 12:20 PMSolution
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.
09-16-2020 02:21 PM
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.
09-17-2020 01:02 AM
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
customer1.voice.contoso.com > Public A Record > Pointing to IP of voice.contoso.com
Customer VoiceRoute picks up derived trunk from voice.contoso.com
09-17-2020 01:59 AM
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!
09-17-2020 03:00 AM
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.
09-17-2020 05:10 AM
OK thanks. I've had to change and create new domains now, I also have the complexity of load balancing between two sites which has driven the need to create new carrier subdomains, one for each SBC pair and also new customer domains based on the carrier subdomain. What an ache!
It's clear to me that documentation needs updating and full explanations of how you achieve fail-over etc is required, that part is especially not clear.
Thanks for your help!