In this section:
This Best Practice includes instructions for migrating an
Two options are available for migrating to Teams Direct Routing Media Bypass:
Replace the existing Microsoft Teams Direct Routing trunk
Create a second Microsoft Teams Direct Routing trunk
If Microsoft Teams Direct Routing is not configured on the SBC Edge, refer to Best Practice - Configuring SBC Edge for Microsoft Teams Phone System Direct Routing.
The applicable firewall port on the SBC Edge must be opened. Refer to: Firewall Securing the SBC with Media Bypass.
A Public IP address without NAT is required to implement Direct Routing with Media Bypass.
Replacing the existing Microsoft Teams Direct Routing trunk is recommended if the Public Certificate is NOT a wildcard and a SAN (Subject Alternative Name) is unavailable; this solution moves all users to Media Bypass.
Replace the existing trunk as follows:
Connect Microsoft Teams admin tenant and enable Media Bypass on the PSTN Online Gateway:
Set-CsOnlinePSTNGateway -Identity sbc.domain.com -MediaBypass $true
Select the Signaling Group used for Microsoft Teams Direct Routing.
From the RTCP Multiplexing drop down list, select Enable.
From the ICE Support drown down list, select Enable.
From the ICE Mode drop down list, select Lite.
Click Apply.
Creating a second Microsoft Direct Routing trunk is recommended if the Public Certificate is a wildcard or a SAN (Subject Alternative Name) available; this solution allows a smooth migration of users to Media Bypass.
Add a second routing trunk as follows.
Connect Teams admin tenant and create a new PSTN Online Gateway with Media Bypass enabled:
New-CsOnlinePSTNGateway -Fqdn sbc2.domain.com -SipSignallingPort 5062 -Enable $True -MediaBypass $true
Ensure the SIP Signaling Port is different from the Non Bypass trunk. For details, refer to Creating and Modifying SIP Signaling Groups.
Configure the fields to be identical to the Non Bypass SIP Profile, except the FQDN in From Header and the FQDN in Contact Header are set to Static.
Configure the fields identical to the Non Bypass Signaling Group, except the Listen Ports must be different.
From the RTCP Multiplexing drop down list, select Enable.
From the ICE Support drown down list, select Enable.
From the ICE Mode drop down list, select Lite.
Click Apply.