mindmap
root((Voice & Comms Fundamentals))
Teams Phone Architecture
Cloud PBX
PSTN Connectivity
SBC / Direct Routing
Operator Connect
Calling Plans
Meeting Infrastructure
Meetings
Webinars
Town Halls
Audio Conferencing
Teams Premium
Teams Rooms
Windows Platform
Android Platform
Resource Accounts
Peripherals
Licensing
Teams Phone Standard
Calling Plans
Audio Conferencing
Teams Rooms Basic/Pro
Teams Premium
Communication Credits
Admin Portals
Teams Admin Center
M365 Admin Center
Entra Admin Center
Call Quality Dashboard
Network Fundamentals
Ports & Protocols
QoS
Media Optimization
Network Assessment
🏗️ Teams Phone Architecture
How Teams Phone Works
Microsoft Teams Phone is a cloud-based PBX (Private Branch Exchange) that replaces traditional on-premises phone systems. It provides calling capabilities within Teams using Microsoft’s cloud infrastructure.
Component
Purpose
Teams Phone System
Cloud PBX — call control, voicemail, auto attendants, call queues
PSTN Connectivity
Connects Teams Phone to the public telephone network
Session Border Controller (SBC)
Gateway between Teams and PSTN for Direct Routing
Auto Attendants
Automated call routing menus (IVR)
Call Queues
Hold and distribute calls to groups of agents
Cloud Voicemail
Voicemail with transcription, stored in Exchange Online
M365 E5 is the only standard plan that includes both Teams Phone and Audio Conferencing
Teams Rooms Basic is limited to 25 rooms per tenant — beyond that, you need Teams Rooms Pro
Resource accounts for auto attendants/call queues need a Teams Phone Resource Account license (free) plus a Calling Plan or virtual user license if they need a phone number
Communication Credits are required for toll-free Audio Conferencing dial-in numbers
🖥️ Admin Portals
Portal
URL
Primary Use for MS-721
Teams Admin Center
admin.teams.microsoft.com
Phone policies, meeting policies, device management, auto attendants, call queues
# Install the moduleInstall-Module-NameMicrosoftTeams-Force# ConnectConnect-MicrosoftTeams# Phone number managementGet-CsPhoneNumberAssignmentSet-CsPhoneNumberAssignment-Identityuser@domain.com-PhoneNumber"+14255551234"-PhoneNumberTypeDirectRouting# Calling policiesGet-CsTeamsCallingPolicyNew-CsTeamsCallingPolicy-Identity"RestrictedCalling"-AllowPrivateCalling$trueGrant-CsTeamsCallingPolicy-Identityuser@domain.com-PolicyName"RestrictedCalling"# Auto attendants and call queuesGet-CsAutoAttendantGet-CsCallQueueNew-CsOnlineApplicationInstance-UserPrincipalNameaa@domain.com-DisplayName"Main Auto Attendant"-ApplicationId"ce933385-9390-45d1-9512-c8d228074e07"# Direct RoutingGet-CsOnlinePSTNGatewayNew-CsOnlinePSTNGateway-Fqdn"sbc.domain.com"-SipSignalingPort5061-Enabled$trueGet-CsOnlineVoiceRouteGet-CsOnlineVoiceRoutingPolicy
Application IDs
Application
Application ID
Auto Attendant
ce933385-9390-45d1-9512-c8d228074e07
Call Queue
11cd3e2e-fccb-42ad-ad00-878b93575e07
⚠️ Exam Caveat:
PowerShell is required for bulk phone number assignments and advanced Direct Routing configuration
Resource accounts (application instances) use specific Application IDs — auto attendant and call queue have different IDs
Set-CsPhoneNumberAssignment replaces the deprecated Set-CsUser for phone number assignment
🌐 Network Fundamentals for Teams Voice
Key Ports and Protocols
Protocol
Port Range
Purpose
HTTPS
TCP 443
Signaling, authentication, API calls
STUN/TURN
UDP 3478
Media relay — NAT traversal
Media
UDP 3479–3481
Audio, video, screen sharing
SIP
TCP/TLS 5061
Direct Routing SBC signaling
Bandwidth Requirements (Per User)
Scenario
Minimum Bandwidth
Audio call (1:1)
~30 kbps
Video call (1:1, 720p)
~1.5 Mbps
Video call (1:1, 1080p)
~2.5 Mbps
Screen sharing
~200 kbps
Large meeting (video gallery)
~2.5–4 Mbps
Quality of Service (QoS)
Media Type
Source Port Range
DSCP Value
DSCP Class
Audio
50000–50019
46
EF (Expedited Forwarding)
Video
50020–50039
34
AF41
App/Screen Sharing
50040–50059
18
AF21
⚠️ Exam Caveat:
UDP is preferred for real-time media — if blocked, Teams falls back to TCP 443 with degraded quality
Direct Routing SBCs connect to Teams via TLS on port 5061 — this is SIP signaling, not media
QoS DSCP marking is critical for prioritizing voice traffic — audio should always be EF (46)
Know the difference between Network Planner (capacity planning) and Network Assessment Tool (connectivity testing)