Overview
Microsoft partners with selected Session Border Controllers (SBC) vendors to certify that their SBCs work with Direct Routing. We will be using one of the certified vendors Audiocodes Mediant SBC as an example.
For detailed instructions on setting up the Session Border Controller for MS Teams, refer to the following documents:
- MS Teams – Configure Direct Routing
- Connecting AudioCodes’ SBC to MS Teams Direct Routing
- Mediant Software SBC – Users Manual
The information on this page provides a high level overview of the steps needed to configure UCX, Teams and SBC for UCX Direct Routing.
UCX Configuration
1. From UCX Administration, navigate to PBX – IP Trunk Assistant.
2. Create a New Account.
3. Enter the following parameters and click Save:
- Account Name = Enter a descriptive name.
- Trunk Provider = Custom
- User Name = 1
- Secret = 1
- Host / IP = Enter IP address of the SBC
- Context = from-trunk
- From User = 1
MS Teams Configuration
Refer to MS Teams – Configure Direct Routing for instructions on setting up MS Teams to connect to a Session Border Controller (SBC) for Direct Routing, and to configure Teams users to use Direct Routing to connect to the Public Switched Telephone Network (PSTN).
Below is a summary of the steps that need to be performed on the Microsoft Teams admin center. Reference document used is Connecting AudioCodes’ SBC to MS Teams Direct Routing.
- Go to Voice -> Direct Routing -> SBC tab, add and configure the new SBC.
- Go to Voice -> Direct Routing -> Voice routes tab, add a voice route and associate it with the new SBC. Then associate a new or existing PSTN usage record with the Voice route.
- Go to Voice -> Voice routing policies, add a Voice routing policy and associate it with the PSTN usage record.
- Assign Users to the Voice routing policy created in the previous step.
SBC Configuration
Connecting UCX to SBC
Below is a summary of the steps required on the SBC to connect the UCX. Reference document used is Connecting AudioCodes’ SBC to MS Teams Direct Routing.
- Go to SIP Interfaces, identify an existing interface or create a new interface to connect to the UCX.
- Go to Media Realms, use the default Local_MR or create a separate media realm for UCX only if needed.
- Go to IP Profiles, create a profile for UCX. Change the following SIP parameters to Not Supported:
- SIP Update Support
- Remote re-INVITE
- Remote Delayed Offer Support
- Go to Coders Groups, use an existing one or create a new group for UCX if needed, specifying the coders supported by UCX.
- Go to Proxy Sets, create a proxy set for UCX. Select the SIP interface identified in Step 1. Configure the Proxy Address as the UCX IP address and port number. For example 192.168.1.200:5060. Transport Type is UDP.
- Go to IP Profiles, create an IP Profile for UCX. Select the Coders Group identified or created in Step 4 for UCX.
- Go to IP Groups, create an IP Group for UCX. select the Proxy Set, IP Profile and Media Realm identified or created in the previous steps for UCX.
Routing Calls
The IP-to-IP call routing rules define how calls will be routed between entities. SBC will select the first rule that matches the characteristics identified. If no rules match, then the call is rejected.
- Go to Routing -> IP-to-IP Routing, create a rule to route calls from Teams to UCX. For Source IP Group, select the group for Teams. For Destination IP Group, select the group for UCX. Specify the Destination Username Pattern that will identify calls intended for UCX.
- Go to Routing -> IP-to-IP Routing, create a rule to route calls from UCX to Teams. For Source IP Group, select the group for UCX. For Destination IP Group, select the group for Teams. Specify the Destination Username Pattern that will identify calls intended for Teams.