When setting up Cisco CUBE for Microsoft Teams Direct Routing, there are several key requirements and configurations to consider. Below is a comprehensive guide to help you through the process.
1. General Requirements
- Public, Internet Routable IP Address: Ensure you have a public IP address for the external interface.
- Private, Internal IP Address: Assign a private IP address for the internal interface.
- Fully Qualified Domain Name (FQDN): The CUBE should have an FQDN from your public Domain.
- Public Certificate: Obtain a public certificate for the CUBE FQDN from a Certificate Authority supported by Microsoft.(* Certificate Will Work)
- DNS A Records: Create DNS A records in the public DNS server for the SBC FQDN mapping to the public IP address.
- Firewall Rules: Add firewall rules as specified in the firewall requirements section.
2. Firewall Requirements
2.1 SIP Signaling: IP Address Ranges
The Cisco CUBE Router will initiate communication with the following FQDNs:
- sip.pstnhub.microsoft.com – Global FQDN
- sip2.pstnhub.microsoft.com – Secondary FQDN
- sip3.pstnhub.microsoft.com – Tertiary FQDN
These FQDNs resolve to IP addresses within the following subnets:
- 52.112.0.0/14
- 52.122.0.0/14
2.2 SIP Signaling: Ports
The port ranges for SIP signaling are as follows:
| Traffic | From | To | Source Port | Destination Port |
| Microsoft Teams to CUBE Router | Microsoft SIP Proxy IP Range | Cisco CUBE Router IP Address | 1024 – 65535 | 5061 |
| CUBE Router to Microsoft Teams | Cisco CUBE Router IP Address | Microsoft SIP Proxy IP Range | 5061 | 5061 |
2.3 SIP Media: IP Address Ranges
The IP address ranges for media traffic are:
- 52.112.0.0/14 (IP addresses from 52.112.0.0 to 52.115.255.255)
- 52.120.0.0/14 (IP addresses from 52.120.0.0 to 52.123.255.255)
2.4 SIP Media: Ports
The port ranges for SIP media are as follows:
| Traffic | From | To | Source Port | Destination Port |
| Microsoft Teams to CUBE Router | Microsoft SIP Media IP Range | Cisco CUBE Router IP Address | 3478-3481 and 49152 – 53247 | 16384 – 32766 |
| CUBE Router to Microsoft Teams | Cisco CUBE Router IP Address | Microsoft SIP Media IP Range | 16384 – 32766 | 3478-3481 and 49152 – 53247 |