Microsoft Teams as a Telephony Platform: Architecture Overview
Microsoft Teams Phone transforms Teams from a collaboration platform into a complete cloud-based telephony system capable of replacing traditional PBX infrastructure. IT teams deploying Teams Calling must understand three critical architectural layers: PSTN connectivity models (how Teams reaches the public telephone network), call flow patterns (how signalling and media traverse network boundaries), and hybrid integration scenarios (how Teams coexists with or replaces legacy phone systems).
Unlike standalone UCaaS platforms where the provider controls the entire voice stack, Teams telephony architecture distributes responsibility across Microsoft’s cloud infrastructure, customer-managed network design, and third-party connectivity providers. This shared responsibility model requires IT teams to make informed architectural decisions with multi-year operational implications.
Unified Communications (UcaaS) Insights & Resources
Explore our complete UCaaS service overview and in‑depth guides covering strategy, security, migration, and Microsoft Teams calling architecture.
UCaaS Insights & Resources
UCaaS Explained: The Complete Guide
UCaaS for Business Continuity and Resilience: A Risk Guide
UCaaS Security, Compliance and Architecture: Technical Guide
UCaaS Migration and Implementation: A Technical Playbook
Microsoft Teams and UCaaS Integration Architecture: A Technical Guide
How to Choose the Right UCaaS Provider: An Australian Buyer's Guide
Three PSTN Connectivity Models: Decision Matrix
Teams Phone requires external PSTN connectivity to enable inbound and outbound calling beyond Teams-to-Teams communications. Three connectivity models address this requirement, each with distinct architectural characteristics, cost structures, and operational trade-offs.
Microsoft Calling Plans
Microsoft Calling Plans deliver PSTN connectivity as a Microsoft-managed service purchased directly alongside Teams Phone licenses.
Architecture:
- Microsoft owns and operates all voice infrastructure including PSTN interconnections, call routing, and number provisioning
- No customer-managed infrastructure required (no SBC, no SIP trunks)
- Numbers assigned directly through Teams Admin Center
- All call traffic routes through Microsoft network infrastructure
When to deploy:
- Small organisations (under 50 users) with simple calling requirements
- Geographic presence limited to regions where Microsoft offers Calling Plans (availability varies significantly by country)
- Teams-only environments with no legacy PBX integration requirements
- Preference for fully managed service over cost optimisation
Limitations:
- Limited number availability in many countries including parts of Australia5
- Higher per-minute costs compared to Direct Routing6
- No integration with existing telephony infrastructure
- Complete dependency on Microsoft for number management and call routing
Operator Connect
Operator Connect enables certified telecommunications carriers to deliver PSTN connectivity integrated directly into Teams Admin Center.
Architecture:
- Certified operators deploy Microsoft-approved SBC infrastructure connecting their networks to Microsoft Teams
- Number provisioning and basic telephony configuration managed through Teams Admin Center10
- Operator manages SBC, maintains carrier interconnections, and handles PSTN routing
- Call traffic routes: Teams client → Microsoft Teams infrastructure → Operator SBC → PSTN
When to deploy:
- Organisations preferring centralised administration through Teams Admin Center
- Scenarios where simplified number provisioning outweighs architectural flexibility
- Single-carrier connectivity requirements without complex multi-trunk routing
Architecture considerations:
- Operator Connect often introduces aggregation platforms between operator infrastructure and Microsoft, potentially increasing latency and cost
- Limited flexibility for advanced routing scenarios, hybrid environments, or multi-operator strategies
- Administrators still require Teams telephony expertise (voice policies, dial plans, emergency calling) regardless of where configuration occurs
Cost reality:
- Operator Connect does not reduce total cost; pricing follows standard telco models
- Microsoft licenses (Microsoft 365, Teams Phone) remain separate charges
- Operator pricing varies significantly with no standardised cost structure
- Frequently more expensive than Direct Routing due to aggregation platform costs
Direct Routing Architecture Deep Dive
Direct Routing represents the most flexible Teams Calling architecture but requires understanding SBC placement, call flow patterns, and integration points.
SBC Placement Options
| Deployment Model | Architecture | Use Cases | Operational Responsibility |
| On-premise physical SBC | Customer data centre or office | Organisations with existing SBC investments, regulatory requirements for on-premise voice infrastructure | Customer manages hardware, licensing, patching, monitoring |
| On-premise virtual SBC | Customer VMware/Hyper-V environment | Virtualised infrastructure preference, physical hardware reduction | Customer manages VM infrastructure, SBC licensing, operations |
| Cloud-hosted SBC (IaaS) | Azure, AWS, or customer cloud tenancy | Cloud-first strategy, multi-region deployment, infrastructure flexibility | Customer manages cloud resources, SBC configuration, security |
| Fully managed SBC (provider) | Provider infrastructure (cloud or on-premise) | Minimal internal telephony expertise, preference for opex over capex, rapid deployment | Provider manages all infrastructure, customer focuses on Teams user administration |
Call Flow Architecture: Signalling vs Media Paths
Understanding how signalling (call setup/teardown) and media (actual voice) traverse network boundaries is critical for network design, firewall rules, and troubleshooting.
Outbound call flow (Teams user to PSTN):
- Call initiation: Teams client sends SIP INVITE to Microsoft Teams infrastructure (sip.pstnhub.microsoft.com)
- Tenant routing: Teams infrastructure identifies user’s voice routing policy, determines SBC destination based on dial plan
- SBC signalling: Microsoft forwards SIP INVITE to customer/provider SBC FQDN over TLS-encrypted SIP
- PSTN routing: SBC applies routing logic, selects appropriate SIP trunk provider, forwards call to PSTN
- Media negotiation: Teams client and SBC (or Media Processor if bypass disabled) negotiate SRTP media streams
- Call established: Encrypted voice traffic flows between Teams client and SBC, SBC bridges to PSTN trunk
Inbound call flow (PSTN to Teams user):
- PSTN call arrival: Call arrives at SIP trunk provider, routes to customer SBC
- Number lookup: SBC identifies Microsoft Teams as destination for dialled number
- Teams routing: SBC sends SIP INVITE to Microsoft Teams infrastructure (sip.pstnhub.microsoft.com)37
- User lookup: Teams infrastructure resolves called number to Teams user, applies call routing policies
- Client signalling: Teams sends INVITE to user’s active endpoints (desktop, mobile, IP phone)
- Media establishment: SRTP media streams connect caller to Teams endpoint(s)
Media bypass consideration:
By default, media traffic routes through Microsoft Media Processors providing transcoding, recording, and compliance capabilities. Media bypass allows RTP streams to flow directly between Teams clients and SBCs, reducing latency and Microsoft bandwidth consumption38. Enable media bypass when call quality optimisation outweighs centralised media processing requirements.
Infrastructure Requirements for Direct Routing
SBC technical requirements:
- Microsoft-certified SBC from approved vendor list
- Public IP address and FQDN using verified domain (cannot use *.onmicrosoft.com)
- Public trusted TLS certificate from recognised certificate authority
- Support for TLS 1.2+ for SIP signalling and SRTP for media encryption
- DNS A record mapping SBC FQDN to public IP address
Licensing requirements:
- Teams Phone license for each user requiring PSTN calling
- Microsoft Teams license (included in Microsoft 365 E3/E5)
- No Audio Conferencing license required unless using Microsoft dial-in numbers
Network requirements:
- Firewall rules permitting SIP traffic (TCP/UDP 5060-5061) to Microsoft infrastructure FQDNs
- Firewall rules permitting RTP media traffic (UDP typically 10000-20000) to Microsoft media processor IP ranges
- Sufficient bandwidth for concurrent voice calls (100 kbps per call) and video
- QoS policies prioritising real-time communications traffic
Phase 3: Australian Number Porting Process
Number porting transfers existing phone numbers from current carriers to UCaaS providers. Australian porting follows ACMA (Australian Communications and Media Authority) regulations.
Porting Timeline and Process
Standard Australian number porting timelines:
| Number Type | Typical Porting Duration |
| Single geographic number | 3 to 5 business days |
| Block of geographic numbers | 5 to 10 business days |
| 1300 / 1800 numbers | 10 to 15 business days |
| Mobile numbers | 1 to 2 business days |
Pre-porting preparation:
- Request Current Service Provider (CSP) account details including account number, billing contact, and service address
- Obtain Letter of Authority from current provider authorising number release
- Validate that numbers are portable (some legacy numbers or complex configurations may require special handling)
- Submit porting request to UCaaS provider with complete documentation
Porting coordination:
- Agree cutover date and time with both losing and gaining carriers
- Plan for brief service interruption during number transfer (typically 15 to 60 minutes)
- Prepare rollback procedure if porting fails validation
- Schedule cutover during low-call-volume periods (evenings, weekends)
Common porting issues:
- Account information mismatch between porting request and current provider records
- Outstanding contract terms or early termination fees with current provider
- Complex number configurations (hunt groups, priority routing) requiring manual provisioning
- Incomplete documentation delaying porting approval
Hybrid Integration Patterns: Teams with Legacy PBX
Many Australian organisations require Teams coexistence with existing PBX systems during phased migrations.
Pattern 1: Parallel Systems with Number Porting
Teams and legacy PBX operate independently with distinct user populations.
Implementation:
- Port subset of phone numbers to Teams Direct Routing
- Maintain remaining numbers on legacy PBX
- No technical integration between platforms
- Users provisioned exclusively on one system or the other
Use case: Phased migration by department or location where user populations do not require inter-system calling.
Pattern 2: SBC-Mediated Call Routing
SBC routes calls between Teams users, legacy PBX users, and PSTN based on dialled number patterns.
Implementation:
- SBC configured with routing logic directing calls to Teams (via Direct Routing) or legacy PBX (via SIP trunk)
- Internal extension dialling routes between platforms
- Both systems share SIP trunk connections to PSTN
- Users on either platform can reach each other via SBC routing
Use case: Long-term coexistence requiring seamless internal dialling across Teams and PBX users.
Pattern 3: Legacy PBX as SIP Trunk to Teams
Legacy PBX connects to Teams as a SIP trunk endpoint, treating Teams as external system.
Implementation:
- Configure SIP trunk between legacy PBX and Teams Direct Routing SBC
- Dial plans on PBX route specific extensions or number patterns to Teams
- Teams users appear as extensions reachable from PBX
- Limited feature parity (call transfer, conferencing may not work seamlessly)
Use case: Maintaining legacy PBX investment while enabling limited Teams calling capability for specific user groups.
Network Design for Teams Calling Performance
Teams Calling quality depends on proper network configuration prioritising real-time communications traffic.
Quality of Service (QoS) Configuration
QoS ensures voice and video packets receive network priority over bulk data transfers, file downloads, and web browsing.
DSCP marking for Teams traffic:
| Traffic Type | Port Range | DSCP Value | Queue Priority |
| Audio (voice) | 50000-50019 | EF (46) | Expedited Forwarding |
| Video | 50020-50039 | AF41 (34) | Assured Forwarding |
| Application sharing | 50040-50059 | AF21 (18) | Assured Forwarding |
Implementation steps:
- Configure Teams clients to mark outbound traffic with DSCP values via Group Policy or Teams Admin Center
- Deploy network switches and routers with QoS policies matching DSCP markings
- Configure queue prioritisation ensuring EF traffic transmits before lower-priority queues
- Implement traffic shaping reserving minimum bandwidth for real-time communications
- Validate QoS effectiveness using network monitoring and call quality metrics
Performance targets:
- Latency (one-way): under 150ms
- Jitter: under 30ms
- Packet loss: under 1%
- Mean Opinion Score (MOS): above 4.0 on 1-5 scale
Firewall Configuration for Teams Direct Routing
Required firewall rules (outbound from SBC to Microsoft):
- Permit TCP 5061 (SIP over TLS) to sip.pstnhub.microsoft.com, sip2.pstnhub.microsoft.com, sip3.pstnhub.microsoft.com
- Permit UDP 3478-3481 and 50000-59999 to Microsoft Media Processor IP ranges for RTP traffic
- Configure rules to allow return traffic on established connections
Required firewall rules (inbound to SBC from PSTN):
- Permit SIP signalling (TCP/UDP 5060-5061) from SIP trunk provider IP addresses
- Permit RTP media (UDP typically 10000-20000) from trunk provider IP ranges
- Implement Session Border Controller firewalling features (SIP message validation, rate limiting, geographic blocking)
Operational Considerations for Teams Calling
Monitoring and Troubleshooting
Teams Admin Center call quality dashboard:
- Review call quality metrics by user, location, and time period
- Identify poor call quality patterns indicating network issues
- Analyse call failure rates and error codes
- Monitor PSTN usage and cost trends
SBC logging and analytics:
- Configure SBC syslog forwarding to centralised monitoring platforms
- Monitor SIP trunk registration status and call success rates
- Track concurrent call capacity and trunk utilisation
- Alert on SBC failures, certificate expiry, or trunk disconnections
Network performance monitoring:
- Deploy synthetic transaction testing simulating Teams calls
- Measure latency, jitter, and packet loss to Microsoft data centres
- Monitor WAN link utilisation and QoS queue performance
- Identify network path issues affecting call quality
Number Management in Australia
Number porting to Teams Direct Routing:
- Australian geographic numbers port in 5 to 10 business days
- 1300/1800 numbers require 10 to 15 business days
- Coordinate porting with SIP trunk provider and Microsoft
- Validate DNS records and SBC configuration before porting cutover
Emergency services calling:
- Configure emergency calling policies in Teams Admin Center
- Ensure accurate location data transmission for 000 calls
- Validate emergency routing through SBC to appropriate PSTN trunks
- Test emergency calling functionality post-deployment
Frequently Asked Questions: Teams Calling Architecture
How does Microsoft Teams work as a phone system?
Microsoft Teams Phone adds PSTN calling capability to Teams through integration with external telephony services. Users make and receive external phone calls using the Teams application on desktop, mobile, or IP phones. Three connectivity models enable PSTN access: Microsoft Calling Plans (Microsoft-managed service), Operator Connect (certified carrier integration via Teams Admin Center), or Direct Routing (customer-selected SIP trunks via Session Border Controller). Teams Phone licenses are required in addition to Microsoft 365 subscriptions. Teams handles call control, collaboration features, and user interface while external connectivity provides the path to public telephone networks.
Last updated:
What is the difference between Teams Calling Plans and Direct Routing?
Calling Plans are Microsoft-managed PSTN service where Microsoft provides phone numbers, manages voice infrastructure, and bills for call usage. Configuration occurs entirely in Teams Admin Center with no customer infrastructure required. Direct Routing connects Teams to customer-selected SIP trunk providers via Session Border Controller, providing full control over carrier selection, call routing, and cost management. Direct Routing supports advanced scenarios including multi-carrier strategies, legacy PBX integration, and international deployments but requires SBC infrastructure (self-managed or provider-managed). Calling Plans suit small organisations prioritising simplicity; Direct Routing suits organisations requiring flexibility, cost control, or complex integration requirements.
Last updated:
Can I use Teams with my existing phone numbers?
Yes. Existing Australian phone numbers port to Teams through Direct Routing or Operator Connect. Geographic numbers, mobile numbers, and 1300/1800 service numbers can all port to Teams-compatible services. Direct Routing offers maximum flexibility as any SIP trunk provider can deliver ported numbers. Operator Connect supports number porting through certified carriers. Microsoft Calling Plans have limited number availability in Australia and may not support all number types. Number porting timelines range from 3-15 business days depending on number type. Organisations maintaining existing carrier relationships typically deploy Direct Routing to preserve number investments while migrating to Teams.
Last updated:
How do I integrate Teams with a SIP trunk?
Teams integrates with SIP trunks via Direct Routing architecture requiring a Microsoft-certified Session Border Controller. The SBC connects Teams Phone to one or more SIP trunk providers: (1) Deploy certified SBC (on-premise, cloud-hosted, or fully managed service), (2) Configure SBC FQDN using verified domain with public trusted TLS certificate, (3) Create SIP trunk connection from SBC to Teams infrastructure (sip.pstnhub.microsoft.com), (4) Configure voice routing policies in Teams Admin Center directing calls to SBC, (5) Implement dial plans, number assignments, and emergency calling policies, (6) Validate call flows and quality metrics. SBCs mediate between Microsoft’s SIP implementation and carrier-specific requirements, handling protocol normalisation, security, and call routing logic.
Last updated:
What network requirements does Teams Calling have?
Teams Calling requires 100 kbps bandwidth per concurrent voice call, under 150ms one-way latency, under 30ms jitter, and under 1% packet loss. Firewall rules must permit SIP signalling (TCP 5061) and RTP media (UDP 3478-3481, 50000-59999) to Microsoft infrastructure. QoS policies should mark audio traffic as DSCP EF (46) for priority queuing. Network switches and routers require QoS configuration prioritising real-time communications over bulk data transfers. For Direct Routing, additional firewall rules permit SIP and RTP traffic between SBC and SIP trunk providers. Deploy redundant internet connectivity or 4G/5G failover for business-critical calling. Validate network readiness using Microsoft Network Assessment Tool before deployment.
Last updated:
Is Teams secure enough for enterprise UCaaS?
Yes, when properly configured. Teams encrypts signalling traffic using TLS 1.2+ and media streams using SRTP. Direct Routing requires public trusted TLS certificates on SBCs preventing man-in-the-middle attacks. Integrate Teams authentication with Azure AD conditional access policies requiring MFA and compliant device status. Implement Data Loss Prevention policies preventing sensitive information sharing via Teams messages and files. Enable audit logging and integrate with SIEM platforms for security monitoring. Configure call routing restrictions preventing toll fraud. For Direct Routing, SBCs provide additional security layers including SIP message validation, rate limiting, and geographic blocking. Teams meets enterprise security requirements when deployed following Microsoft security baseline and organisational security policies.
Last updated:
What is a Session Border Controller and why is it needed for Direct Routing?
A Session Border Controller is a network element mediating SIP signalling and RTP media flows between Microsoft Teams infrastructure and SIP trunk providers. SBCs are required for Direct Routing because Microsoft Teams and carrier networks use different SIP implementations, security models, and network topologies. SBCs perform protocol normalisation (translating between Microsoft and carrier SIP dialects), security functions (TLS encryption, SIP message validation, fraud prevention), NAT traversal (enabling communication across network boundaries), call routing (directing calls to appropriate trunks based on dial plans), and media transcoding (when required for codec compatibility). Microsoft certifies specific SBC vendors ensuring compatibility with Teams infrastructure. SBCs deploy on-premise, in cloud infrastructure, or as fully managed services depending on organisational preference.
Last updated:
How do I monitor Teams Calling performance?
Monitor Teams Calling using Microsoft Teams Admin Center Call Quality Dashboard reviewing call quality metrics (MOS scores, latency, jitter, packet loss) by user, location, and time period. Enable Call Analytics for detailed per-call troubleshooting including media statistics, network paths, and failure diagnostics. Deploy SBC monitoring collecting SIP transaction logs, call success rates, trunk utilisation, and error codes. Integrate SBC logging with SIEM platforms for centralised visibility. Implement network monitoring measuring latency, jitter, and packet loss to Microsoft data centres. Deploy synthetic transaction testing simulating Teams calls and validating QoS effectiveness. Monitor PSTN usage trends identifying cost anomalies or fraud patterns. Establish performance baselines and alerting thresholds triggering investigation when metrics degrade.
Last updated:
Teams Calling Architecture: Technical Precision for Production Deployments
Microsoft Teams Calling architecture requires IT teams to make informed decisions across PSTN connectivity models, SBC placement, network design, and hybrid integration patterns. The architectural choices made during planning phase determine long-term operational outcomes including call quality, cost predictability, integration flexibility, and operational burden.
Australian IT teams deploying Teams Calling should prioritise architecture decisions based on organisational requirements rather than vendor marketing. Direct Routing provides maximum flexibility and cost control when organisations require advanced routing, multi-carrier strategies, or legacy system integration. Operator Connect simplifies number provisioning for single-carrier environments accepting architectural constraints. Calling Plans suit small deployments prioritising simplicity over cost optimisation and feature depth.
Successful Teams Calling deployments share common characteristics: thorough network readiness assessment validating bandwidth and QoS configuration, proper SBC sizing and placement aligned with call volume and geographic distribution, comprehensive testing validating call flows and integration points before production cutover, and operational monitoring detecting performance degradation before users report issues.
Teams Calling is not a checkbox feature activation. It is an architectural implementation requiring network engineering, telephony expertise, and operational discipline.
Ready to Architect Teams Calling for Your Organisation?
Get a UCaaS Readiness Assessment to evaluate Teams Calling suitability, validate network infrastructure, and design the optimal architecture for your requirements.
Learn more about how KMTech delivers Microsoft Teams integration and UCaaS services to Australian organisations
Last updated:




