1. Introduction


This document describes how to connect Microsoft Teams to Breeze connect.

 

1.1 About Teams Direct Routing


Microsoft Teams Direct Routing lets you connect a Session Border Controller (SBC) to Microsoft

Phone System. This capability allows for interconnection to the Public Switched Telephone Network

(PSTN) through virtually any telephony trunk.

By using Direct Routing you are able to use the carrier of your choice and keep your existing phone

numbers without the need to port the numbers to Microsoft or purchase new numbers from Microsoft.

You will also save on costs associated with Microsoft’s expensive Calling Plans, where you pay a per

user licensing fee for both domestic and international calling and do not get unlimited minutes.

 

 

2. Configuring Microsoft Teams


This section demonstrates how to configure Microsoft Teams for Direct Routing.

 

2.1 Prerequisites


Before you begin the Microsoft Teams configuration, you will need to obtain a valid domain from

Breeze Connect by contacting our support team (Email: help@breezeconnect.com.au or call us on 0870785300).

 

To obtain a valid domain please share the following info with the support team:

 

* Trunk ID (Trunk with Breeze Teams Direct routing plan, No add-on product required)

* Calling plan (https://breezeconnect.com.au/teams-calling/)

* Number of new DIDs required.

* Appropriate O365 licenses.


Once the above information is provided to the support team, Breeze connect will provide a valid domain. The provided domain will match the *.teams.netsip.net.au.

 

2.2 Domain Setup


To utilize the provided Breeze Connect domain in Microsoft Teams, you will need to register the domain to your Microsoft account. To do so, you will need to sign into the Microsoft 365 admin center as a Global Administrator. To validate the role you have, please sign into the Microsoft 365 admin center (https://admin.microsoft.com/Adminportal#/homepage), go to Users > Active Users, and then verify that you have a Global Admin role.

Once you have verified your role, you can register your Breeze Connect domain:

1. In the Microsoft 365 admin center, go to Settings > Domains > Add domain.

2. Enter your Breeze Connect domain and click Use this domain.

3. To validate the provided domain, you will need to contact our support team with the TXT value

provided by Microsoft. After the TXT value has been added to your domain, click Verify.

 

4. On the next menu, select I’ll add the DNS records myself and click Next.

5. On the next menu, leave all the check boxes unchecked, as your domain will not be utilized for any online services. Click Next.

6. Finally, click Finish to exit the domain setup wizard.

7. Please let us know once you have successfully completed the domain validation step in your O365 tenant. Once you let us know the domain is validated, we will remove the TXT record and activate call routing.

 

2.3 Domain Activation


After you register your domain, you will need to activate it by adding at least one user and assigning a SIP address with the FQDN portion of the SIP address matching your Breeze Connect domain.

You can do this by creating a new user under your Breeze Connect domain:

1. In the Microsoft 365 admin center, go to Users > Active users > Add a user.

2. Enter the required information for the new user, making sure to select your Breeze Connect domain. Click Next.

 

 

3. Assign the required licensing to the user. The user will require at least Office 365 E1 + Microsoft 365 Phone System. You will later be able to remove the licensing after the domain has been activated, if desired. After licensing has been added, click Next.

4. In the next menu, click Next.

5. Finally, click Finish adding to complete the domain activation.

After adding a user to your Breeze Connect domain, the activation process usually takes 5-10 minutes for Microsoft to complete.

You can validate that the domain has been activated via Microsoft PowerShell:

1. Open a new PowerShell window.

2. Check if a Registrar pool has been assigned to your newly created SBC user by executing the Get-CsOnlineUser command. When the user has been activated you will see populated data in the RegistrarPool output.



Once you have validated that Microsoft has activated your Breeze Connect domain, you may now remove any licensing that was added for activation purposes.

 

2.4 Direct Routing Configuration


The last step in the Microsoft configuration is to configure direct routing to use the Breeze Connect domain. You will need to use PowerShell for this step, as Microsoft currently does not support creating voice routes for carrier managed SBCs via their graphical interface.


  • Using PowerShell, connect a remote session for the tenant (This step requires O365 credentials with Admin privileges)

Import-Module MicrosoftTeams


Connect-MicrosoftTeams -Credential $credential


  • Create a PSTN usage policy

Set-CsOnlinePstnUsage -Identity Global -Usage @{Add=”NetSIP_Usage”}


  • Create Voice Route and Associate with PSTN usage

New-CsOnlineVoiceRoute -Identity “NetSIP_Route” -NumberPattern “.*” -OnlinePstnGatewayList p999999999999999P.teams.netsip.net.au -OnlinePstnUsages “NetSIP_Usage”



  • Create a voice routing policy

New-CsOnlineVoiceRoutingPolicy “NetSIP_Policy” -OnlinePstnUsages “NetSIP_Usage”


  • Enable Voice for your user, and assign a phone number

Set-CsUser -Identity “your.user@yourdomain.com” -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI tel:“+61999999999” -AudioVideoDisabled $false


  • Assign the voice routing policy to your user

Grant-CsOnlineVoiceRoutingPolicy -Identity “your.user@yourdomain.com” -PolicyName NetSIP_Policy


  • Verify your user is configured as expected (optional)

Get-CsOnlineUser -Identity “your.user@yourdomain.com” | Format-List -Property FirstName, LastName, EnterpriseVoiceEnabled, HostedVoiceMail, LineURI, UsageLocation, UserPrincipalName, WindowsEmailAddress, SipAddress, OnPremLineURI, OnlineVoiceRoutingPolicy, TeamsCallingPolicy, dialplan, TeamsInteropPolicy