In this section:
This Best Practice details the configuration required for interoperability between Ribbon SBC Edge 1000/2000 and Microsoft Teams Direct Routing.
The intended audiences for this document are enterprises/partners that would like to begin testing with SBC Edge products within the Microsoft® sponsored Direct Routing public preview planned for mid-May 2018. For enterprises/partners testing SBC Edge products within the Microsoft-sponsored Direct Routing TAP (Technology Access Program), contact your Ribbon sales representative before undertaking any product software upgrades in response to this document.
This Best Practice applies to the physical SBC Edge products (SBC 1000 and SBC 2000) only; the SBC SWe Lite interoperability with Microsoft Direct Routing will be available in 2018.
Microsoft Teams Direct Routing with Media Bypass will be supported on the SBC Edge products in 2018.
Note: Direct Routing support is available on the SBC Core products immediately.
This Best Practice includes the configuration steps necessary for the SBC Edge and the Microsoft Teams Direct Routing Interface to interoperate; the connection of other entities, such as a SIP/TDM trunk or 3rd Party PBX and/or analog devices, are not included. For connection to additional equipment, refer to Ribbon documentation and search for a Best Practice that reflects the specific interoperability you want to achieve (i.e., FXS on SBC Edge, TDM on SBC Edge, etc.).
Microsoft Teams Direct Routing interface enables the Ribbon SBC Edge to connect to the Microsoft Teams. The SBC Edge can be connected to almost any telephony trunk or interconnect a 3rd party non-Teams client. The scenario enables the following:
Microsoft supports only validated devices (such as the Ribbon SBC Core and Edge) to connect to the Direct Routing interface.
The example below shows the connection topology, which includes the following:
SBC 1000-2000 and Microsoft Teams Direct Connect Interface - Topology Example
A Tenant is used within the Microsoft environment to describe an Office 365 organization; through this tenant, administrators can manage projects, users, and roles.
Consult the Microsoft documentation for the Direct Routing interface configuration guidelines, including the RFC standards and the syntax of SIP messages.
To locate the SBC Edge software version you are running, refer to Viewing the Software Version and Hardware ID.
Before you begin, ensure that you have the following for every SBC to be paired:
The SBC FQDN must be from one of the Domain names registered in “Domains” of the Tenant. The table below lists Domain Name examples.
Do not use the *.onmicrosoft.com tenant for the domain name.
Domain Name Examples
DNS Name | Use for SBC FQDN? | FQDN Names - Examples |
---|---|---|
aepsite[x].SonusMS01.com | Valid names:
| |
hybridvoice.org | Valid names:
Non-Valid name: sbc1.europe.hybridvoice.org (requires registering domain name europe. hybridvoice.org in “Domains” first) |
Users may be from any SIP domain registered for the tenant. For example, you can configure user user@SonusMS01.com with the SBC FQDN name sbc1.hybridvoice.org, as long as both names are registered for the tenant.
Configure Domain Names - Example
Ensure you are running the latest SBC Edge Release:
Release | Specifications |
---|---|
7.0.2 or later | Does not support Media Bypass.* |
8.0.0 or later (available shortly) | Supports Media Bypass.* NOTE: If Release 8.0.0 is not generally available, contact your local Ribbon sales representative for early access options. |
*Teams Direct Routing With/Without Media Bypass - Example Below
Teams Direct Routing - Media Bypass
To locate the SBC Edge software version you are running, refer to Viewing the Software Version and Hardware ID.
This section provides details on how to configure Ribbon SBC Edge for interoperating with Microsoft Teams Direct Routing.
In this document, the following are used as examples:
Public IP | FQDN | Certificate |
---|---|---|
192.168.211.80 | aepsite6.sonusMS01.com | GlobalSign |
Microsoft Teams Direct Routing only allows TLS connections from the SBC for SIP traffic with a certificate signed by one of the trusted certification authorities.
Request a certificate for the SBC External interface and configure it based on the example using GlobalSign as follows:
The certificate is obtained through the Certificate Signing Request (instructions below). The Trusted Root and Intermediary Signing Certificates are obtained from your certification authority.
Click Generate SBC Edge CSR.
Many CA's do not support a private key with a length of 1024 bits. Validate with your CA requirements and select the appropriate length of the key.
Enter data in the required fields.
Click OK. After the Certificate Signing request finishes generating, copy the result to the clipboard.
Generate Certificate Signing Request
After receiving the certificates from the certification authority, install the SBC Certificate and Root/Intermediate Certificates as follows:
Validate the certificate is installed correctly.
Validate Certificate
Validate the certificate is installed correctly.
Validate Certificate
The Direct Routing interface has the DNS name sip.pstnhub.microsoft.com. On that interface, the certificate is signed by Baltimore CyberTrust Root with Serial Number: 02 00 00 b9 and SHA fingerprint: d4:de:20:d0:5e:66:fc: 53:fe:1a:50:88:2c:78:db:28:52:ca:e4:74.
To trust this certificate, your SBC MUST have the certificate in Trusted Certificates storage.
Download the certificate from https://cacert.omniroot.com/bc2025.crt and use the steps above to import the certificate to the Trusted Root storage.
Deploy Certificate
The TLS profile defines the crypto parameters for the SIP protocol.
Create a TLS profile as follows:
In the left navigation pane, go to Security > TLS Profiles.
Configure the parameters shown below. Leave all other parameters as default.
TLS Configuration - Example Values
Parameter | Example Value |
---|---|
Description | Microsoft Phone system (example name) |
TLS Protocol | TLS 1.2 Only |
Validate Client FQDN | Disabled |
TLS - Example
In the left navigation page, access System > Node-Level Settings.
Configure the NTP and DNS Server with the appropriate configuration.
Node-level Settings - Example
Ensure the IP Routing Table contains the same information as in the network topology.
In the left navigation pane, go to Node Interfaces > Logical Interfaces.
Configure the parameters shown below:
Logical Interfaces Configuration - Example Values
Parameter | Example Value |
---|---|
Description | To Microsoft Phone System |
Admin Interface | Enable |
IP Assign Method | Static (example) |
Primary Address | <Public IP of your SBC> in the example 192.168.211.80 |
Primary Netmask | <Mask of Public Interface of your SBC> in the example 255.255.255.0 |
Logical Interfaces - Example
The SIP Profile enables configuration for parameters, such as SIP Header customization, option tags, etc.
Click the (
) icon at the top of left corner and add a new SIP profile.Configure parameters shown below:
SIP Profile Configuration - Example Values
Parameter | Example Value |
---|---|
Description | Microsoft Phone System |
FQDN in From Header | Sonus SBC FQDN |
FQDN In Contact Header | Sonus SBC FQDN |
Origin Field name | <FQDN of SBC> |
SIP Profile - Example
The Media Crypto Profile defines the encryption mechanism to use between the SBC and the Microsoft Direct Routing Interface.
Add a Media Crypto Profile:
Configure the parameters as shown below. Leave all other parameters as default.
Media Crypto Profile Configuration - Example Values
Parameter | Example Value |
---|---|
Description | Microsoft Phone System |
Operation Option | Required |
Crypto Suite | AES_CM_128_HMAC_SHA1_80 |
Media Crypto Profile - Example
The Media List defines the codecs and if the crypto mechanism will be used.
Create a media Profile:
Configure the parameters as shown below. Leave all other parameters as default.
Media List Configuration - Example Values
Parameter | Example Value |
---|---|
Description | Microsoft Phone System |
Media Profiles List |
NOTE: See Microsoft documentation for the list of codecs supported by Microsoft. |
Crypto Profile ID | Microsoft Phone System (created on the previous step) |
Media List - Example
SIP server tables defines the information for the SIP interfaces connected to the Ribbon SBC; it must be configured to support the Microsoft Phone System.
Click the (
) icon at the top of left corner and add a new SIP Server Table.Create SIP Server Table
Configure the parameters as shown below. Leave all other parameters as default.
SIP Server Table Configuration - Example Values
Parameter | Example Value |
---|---|
Row ID | Assigned by the system |
Description | Microsoft Phone System |
Configure the parameters of the SIP Server table:
Repeat the operation for the other two SIP Server entries. Leave all other parameters as default.
SIP Server 1 Table - Example Values
Parameter | Value |
---|---|
Priority | 1 |
Host | sip.pstnhub.microsoft.com |
Port | 5061 |
Protocol | TLS |
TLS Profile | Microsoft Phone System |
Monitor | SIP Options |
SIP Server 2 Table - Example Values
Parameter | Value |
---|---|
Priority | 2 |
Host | sip2.pstnhub.microsoft.com |
Port | 5061 |
Protocol | TLS |
TLS Profile | Microsoft Phone System |
Monitor | SIP Options |
SIP Server 3 Table - Example Values
Parameter | Value |
---|---|
Priority | 3 |
Host | sip3.pstnhub.microsoft.com |
Port | 5061 |
Protocol | TLS |
TLS Profile | Microsoft Phone System |
Monitor | SIP Options |
SIP Server - Example
Configure Routing Logic per Ribbon Documentation. Refer to Working with Telephony Routing.
Configure Voice Routing
Click the (
) icon at the top left corner to add a new Transformation Table.Create Transformation Table
Configure the parameters as shown below.
Transformation Table - Example Values
Parameter | Value |
---|---|
Row ID | Assigned by the system |
Description | Microsoft Phone System (example name) |
To add and configure a new Call Routing Table:
Click the (t the top of left corner and add a new Call Routing Table.
) icon aCreate Call Routing Table
Configure the parameters as shown below. Click OK.
Call Routing Table - Example Values
Parameter | Value |
---|---|
Row ID | Assigned by the system |
Description | Microsoft Phone System (example name) |
From the left navigation pane, click on the Call Routing > Microsoft Phone System (the entry created in the last step).
Configure the parameters as shown below. Leave all other parameters as default.
Click OK.
Call Routing Table Configuration - Example
Parameter | Value |
---|---|
Description | From Microsoft Phone System (example name) |
Number/Name Transformation Table | Microsoft Phone System |
Destination Signaling Groups | Choose the Signaling Group of a local equipment |
Call Routing Table - Example
From the Create Signaling Group drop down box, select SIP Signaling Group.
Configure the parameters as shown below. Leave the default values for all other parameters.
Click OK.
Signaling Group Configuration - Example Values
Parameter | Value |
---|---|
Description | Microsoft Phone System |
SIP Profile | Microsoft Phone System (from the previous steps) |
Media List ID | Microsoft Phone System (from the previous steps) |
Signaling Media/Source IP | Ethernet 1 (example, pick the interface which faces the Microsoft Phone System) |
Listen Port | 5068 (arbitrary port) TLS TLS Profile ID: Microsoft Phone System (from the previous steps) |
Federated IP/FQDN | sip-all.pstnhub.microsoft.com |
SIP server table | Microsoft Phone System (from the previous steps) |
Load Balancing | Priority |
SIP Profile | Microsoft Phone System (from the previous steps) |
Call Routing Table | Microsoft Phone System (from the previous steps) |
Outbound NAT traversal[1] | Static NAT |
NAT Public IP | 192.168.211.80 (Only required if “Static NAT” is selected) |
[1] Please ignore if the SBC has a Public IP assigned on the interface. The NAT Public IP is required only when the SBC is behind a NAT.
Signaling Group - Example
Incoming and Outgoing Counters
Place a test call as follows:
Click OK.
Place a Test Call - Parameters
Parameter | Value |
---|---|
Destination Number | Number assigned to a Teams user. |
Origination/Calling Number | Number assigned to a Local user |
Call Routing Table | The routing table that handles the call from Local resource. |
Place a Test Call - Configuration
Place Test Call - Example
When forward PAI is enabled on the Tenant CsOnlinePSTNGateway, Microsoft adds a PAI and Privacy SIP header on the outbound call to the SBC. RFC 3325 defined the 'id' value for the Privacy header, which is used to request the network remove the P-Asserted-Identity header field.
Different behavior may be required, as follows: