Forum Discussion
Direct routing to multi tenant users without MS hosted phone numbers
- Jun 28, 2020
When you write "My Platform" is that a multi tenant SBC you have setup? You have to route the calls to the correct SIP trunk for each customer from your SBC and to the PSTN number of the user, not to the SIP address.
Your customers have to add a subdomain with your domain in their tenant to be able to use your multi tenant Direct Routing setup.
https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
When you write "My Platform" is that a multi tenant SBC you have setup? You have to route the calls to the correct SIP trunk for each customer from your SBC and to the PSTN number of the user, not to the SIP address.
Your customers have to add a subdomain with your domain in their tenant to be able to use your multi tenant Direct Routing setup.
https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
- VoipGuyUKJun 28, 2020Copper Contributor
LinusCansby My Platform is my existing setup used for my normal VOIP traffic, of which I have added a SBC specifically to deal with MS Teams. This then would give my customers the option of delivering calls to their team users.
In my 1st test but not in a multi tenant setup I was delivering the call to the users sip address using direct routing. Which is really what I expected to do going forward. As I said the PSTN numbers are not hosted with MS but my other provider and porting them to MS is not an option.
So how can I get the calls to the user? Can I add a number to a user / team voice routing profile without actually needing that number to be hosted with MS?- Ryan SteeleJun 28, 2020Bronze Contributor
VoipGuyUK wrote:Can I add a number to a user / team voice routing profile without actually needing that number to be hosted with MS?
Yes. You run a command like
Set-CsUser -Identity "spencer.low@contoso.com" -OnPremLineURI tel:+14255388797 -EnterpriseVoiceEnabled $true -HostedVoiceMail $true
in the customer's tenant, as documented at https://docs.microsoft.com/en-us/microsoftteams/direct-routing-enable-users#configure-the-phone-number-and-enable-enterprise-voice-and-voicemail .
- VoipGuyUKJun 28, 2020Copper Contributor
Ryan Steele Thanks so that number as long as valid E1.64 is acceptable regardless of where hosted. If I want to be able to send a call to multiple users at the same time how should this be achieved? Can multiple users share the same OnPremLineURI ? Or would I need to manage groups on my platform distributing to each OnPremLineURI that each user would have?