Forum Discussion
ASharpie
Sep 16, 2020Copper Contributor
Direct Routing Hosting Model
Hi
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?
Thank you.
- fowler_23Iron Contributor
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.
- ASharpieCopper Contributor
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_23Iron 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