MSBA-230 · Lesson 11 of 12 · 18 min

Troubleshooting call flow

▶ Video coming soon A video version of this lesson is on the way.

The eleventh workshop was Ludovica's favourite. She brought a stack of real problems, with names changed, from Northlight's support queue, and made Felix and Teodor work through each one before she told them the answer. Her point was that most phone problems are solved by asking the right questions in the right order, and that the order depends on knowing how a call flows through Teams, the connectivity option and the network.

This lesson gives a structured method for troubleshooting calls, the tools in the Teams admin center and PowerShell, the SIP responses that matter for Direct Routing, and the evidence to collect before opening a ticket with Microsoft, an operator or a carrier.

Start with scope

Before looking at any tool, establish the scope. Is it one user, one site, one connectivity option or everyone? Is it inbound, outbound or both? PSTN calls only, or Teams-to-Teams calls too? All the time, or at certain times? On every device, or only the desk phone? Each answer removes a large part of the system from suspicion. A problem that affects only PSTN calls for every user on Operator Connect points at the operator; a problem that affects one user on every kind of call points at that user's client, device or configuration.

A troubleshooting ladder for calls. Step 1: scope, which users, sites, directions and call types. Step 2: user configuration, licences, number and type, usage location, policies. Step 3: dialled number, effective dial plan and normalization. Step 4: route, number type, and for Direct Routing the voice routing policy, usages, routes and gateways. Step 5: SBC or operator health, OPTIONS, TLS, SIP responses. Step 6: media and network, quality data, firewall and NAT. Step 7: collect evidence and escalate to the right owner.
Climb the ladder from the user towards the PSTN, and stop at the first step that explains the symptom.

Check the user

For one user, check the basics first. Is the user licensed for Teams Phone and, if needed, a Calling Plan? Is a phone number assigned, with the right number type? Does the usage location match the number's country? Which calling, dial plan, voice routing, caller ID and emergency policies are effective? Get-CsOnlineUser shows most of this in one command, and the user's Voice page in the Teams admin center shows the rest. Many problems in the first week of a branch cutover were simply users who had not signed out and back in after their number was assigned.

Checking a user and testing normalization without placing a call. Property names may vary slightly by module version.
# One-command check of a user's calling configuration
Get-CsOnlineUser -Identity "o.corrick@corvallincare.example" |
    Select-Object UserPrincipalName, LineURI, EnterpriseVoiceEnabled, UsageLocation, `
        TenantDialPlan, OnlineVoiceRoutingPolicy, CallingPolicy, TeamsEmergencyCallingPolicy
# What would this user's dial string become?
Get-CsEffectiveTenantDialPlan -Identity "o.corrick@corvallincare.example" |
    Test-CsEffectiveTenantDialPlan -DialedNumber "4410"

Follow the number

If the user is configured correctly, follow the dialled number. What did the user actually dial, and what did normalization turn it into? Then, what route did the call take? For Calling Plan and Operator Connect users, the route is set by the number type, so an outbound failure that affects only them usually belongs to Microsoft or the operator. For Direct Routing users, check the voice routing policy, the order of PSTN usages, the routes whose patterns match the normalized number, their priorities and the gateways they list. Test-CsOnlineVoiceRouting, where available, or careful reading of the route patterns, shows which route should be chosen.

Tools in the Teams admin center

The Teams admin center has several tools for calls. Call analytics, on each user's page, shows every call and meeting with device, network and media details, and marks poor audio. The PSTN usage report lists PSTN calls with times, durations and numbers for Calling Plans and Direct Routing. For Direct Routing, the SBC health dashboard shows each gateway's TLS connectivity, OPTIONS status, concurrent calls and network effectiveness ratio, a measure of how often calls succeed, and the PSTN usage report for Direct Routing includes the final SIP response code for each call, which is often the fastest clue.

The Call Quality Dashboard (CQD) looks at quality across many calls, by building, subnet or device, and is where patterns like one access point dropping packets every afternoon appear. Lesson details for CQD belong to the call quality course that follows this one, but Felix used it in the pilot to find exactly that problem on the head office second floor.

ToolBest for
Get-CsOnlineUser and the user's Voice pageLicences, number, type and policies for one user
Test-CsEffectiveTenantDialPlanWhat a dialled string normalizes to
Call analyticsOne user's calls: device, network and media
PSTN usage reportWhich PSTN calls happened, when and to where
SBC health dashboardDirect Routing gateway status and effectiveness
Direct Routing usage reportFinal SIP response codes for Direct Routing calls
Call Quality DashboardPatterns across buildings, networks and devices

SIP responses

Direct Routing problems are often explained by the SIP response code that ended the call. Responses in the 400 range mean a problem with the request, such as 403 Forbidden (the carrier rejected it, often because of a number format or caller ID it will not accept), 404 Not Found (the number does not exist as sent, often a normalization or translation problem) and 488 Not Acceptable Here (no common codec or media setting). Responses in the 500 range mean a server problem, such as 503 Service Unavailable (the SBC or carrier could not handle the call, for example because a trunk was down or full). 480 Temporarily Unavailable often means the called user could not be reached.

Microsoft and SBC vendors publish more detailed explanations, and the SBC's own logs and SIP traces show the full exchange. Ludovica's advice was to read the response code before anything else, because it usually says which side refused the call and roughly why.

ResponseUsual meaning in Direct RoutingFirst place to look
403 ForbiddenCarrier or SBC refused the callCaller ID format, trunk permissions
404 Not FoundNumber not recognized as sentNormalization and trunk translation rules
480 Temporarily UnavailableCalled party not reachableTarget user status, forwarding
488 Not Acceptable HereNo agreed codec or media settingsSBC codec and media bypass settings
503 Service UnavailableSBC or carrier cannot take the callTrunk status, capacity, SBC health

Media problems

If calls connect but sound bad, the signalling path is working and the problem is in the media. One-way audio usually means a firewall or network address translation problem: media in one direction cannot reach its destination, often because media bypass is on and the client cannot reach the SBC's media ports, or because the SBC is advertising a private address. Choppy or robotic audio points to packet loss, jitter or an overloaded network, which call analytics and CQD show. Echo usually comes from a device.

Evidence and escalation

Whoever owns the fix will need evidence. For each example call, record the time with time zone, the calling and called numbers, the user, the device, the direction, the symptom, and the call ID or correlation ID from call analytics. For Direct Routing, add the SBC's SIP trace. Send this to the right owner: Microsoft for Teams configuration and service problems, the operator for PSTN problems on Operator Connect numbers, the carrier or Northlight for Direct Routing trunks and SBCs. Felix built a short form in Microsoft Forms for the help desk with exactly these fields.

Worked problem

Calls to one hospital fail

After the satellite office goes live on Direct Routing, calls from there to one hospital's main number fail immediately, while calls to other numbers work. The Direct Routing usage report shows SIP 404 for those calls.

Show solution
  1. Scope: one destination, outbound, Direct Routing users only.
  2. The user configuration is fine, because other calls work.
  3. Check normalization: staff dial the hospital as a seven-digit local number, which the satellite dial plan normalizes to the wrong area code, because the hospital is across an area code boundary.
  4. Fix the normalization rule for local calls in that area, test with Test-CsEffectiveTenantDialPlan, then place a test call.

Answer: The 404 meant the number did not exist as sent. A normalization rule written for one area code produced the wrong number for a neighbouring one. Correcting the rule fixed it, and the dialling test list gained a cross-boundary local number.

Problems that are not technical

Not every report is a fault. In the head office pilot, a manager reported that calls to her were dropping after thirty seconds; call analytics showed they were going to voicemail because her call answering rules sent unanswered calls there after a short time. A scheduler reported that clients could not reach her; she had set do not disturb weeks earlier and forgotten. Ludovica's ladder included a step zero: ask the user to show you exactly what they did, on the device they used.

Training reduces these reports. The branch champions would learn the five most common non-faults before each cutover: do not disturb, call answering rules, a headset set as the wrong audio device, a Teams client not restarted after a number change, and calls forwarded to an old mobile number.

Planned changes and announcements

Some failures come from changes outside Corvallin. Microsoft's certificate change for Direct Routing in 2026 was one example; carriers also change number formats, SBC vendors release firmware with new defaults, and operators perform maintenance. Felix subscribed the IT team to the Microsoft 365 message center posts about Teams Phone and Direct Routing, to Tidelink's status page and to Northlight's maintenance notices, and added a rule to the incident process: when calls fail suddenly for many users, check announcements before anything else.

Inbound calls that go to the wrong place

Inbound problems have their own pattern. If a call to a number rings nowhere, check whether the number is assigned at all; if it is not, unassigned number treatment decides what happens, and Corvallin had set it to send calls for unassigned branch numbers to the branch's auto attendant, so that a caller using an old number still reached someone. If a call reaches the wrong person, check for an old assignment, forwarding set by the user, or a delegate. If a call to a Direct Routing number fails, check that the carrier is sending it to the right SBC, that the SBC forwards it to Teams in the expected format, and that the number in Teams matches what arrives, including the plus sign.

Caller ID problems

Caller ID problems are common after a migration. If outbound calls show the wrong number, check the caller ID policy assigned to the user, which may replace the user's number with a queue's or the main number, or block it. For Direct Routing, also check whether the SBC or the trunk translation rules change the calling number, and whether the carrier accepts the number it receives; carriers often reject or replace numbers they do not recognize as belonging to the customer. For calls made on behalf of a call queue, check that the agent is allowed to use the queue's number and that the queue's resource account has a number assigned.

When the problem is an emergency call

Emergency calling problems are handled first and differently. If an emergency test call reports the wrong address, check the trusted IP addresses, the network site and subnet that the client is on, and whether the client is connected through a VPN that hides its real location. If no notification arrived, check the emergency calling policy assigned to the user or the network site, and the group that was meant to receive it. Felix's rule was that any emergency calling fault found during a test was treated as an urgent incident, not a routine ticket, even though the call was a test.

A runbook for the help desk

Ludovica's last suggestion was to turn the ladder into a runbook, a short document that the help desk follows before calling Felix. The runbook for Corvallin had one page per symptom: no dial tone, calls do not ring, calls drop, one-way audio, wrong caller ID, and emergency calling faults. Each page listed the questions to ask, the checks the help desk could make with read-only access in the Teams admin center, the evidence to collect, and who to escalate to. The help desk would get a read-only role so that it could see users' calling settings and call analytics without being able to change anything.

Over the pilot, the runbook resolved most reports at the first contact. The reports that reached Felix were the interesting ones, and each one ended with a new line in the runbook, so that the next similar report would not need him.

Common mistakes

  • MistakeStarting with SIP traces before establishing scope.

    InsteadEstablish who, where, which direction and which call types first.

  • MistakeChecking voice routing policies for an Operator Connect user's failed call.

    InsteadCheck the number type first; only Direct Routing uses voice routing.

  • MistakeOpening a ticket without call IDs and times.

    InsteadCollect time, numbers, user, device, symptom and call ID for each example.

  • MistakeTreating one-way audio as a carrier fault.

    InsteadCheck firewall, NAT and media bypass reachability first.

Summary and key terms

  • Scope the problem first: users, sites, direction, call types, timing and devices.
  • Check the user: licences, number and type, usage location and effective policies.
  • Follow the number through normalization and, for Direct Routing, the routing chain.
  • Use call analytics, PSTN usage reports, the SBC health dashboard and CQD.
  • SIP response codes show which side refused a Direct Routing call and why.
  • Collect evidence with call IDs and escalate to the owner of the failing part.
Call analytics
Per-user call details in the Teams admin center, including device, network and media.
Network effectiveness ratio
A measure of how often Direct Routing calls through an SBC succeed.
SIP response code
A numeric reply in SIP that reports the result of a request.
SIP trace
A record of the SIP messages exchanged for a call, captured on the SBC.
One-way audio
A call in which only one side can hear the other, usually a network path problem.
Call ID
An identifier for a call used to find it in logs and support cases.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. What does SIP 404 usually indicate in Direct Routing?

    Show answer

    The number was not recognized as sent, often a normalization or translation problem.

  2. Which tool shows a Direct Routing gateway's OPTIONS status?

    Show answer

    The SBC health dashboard in the Teams admin center.

  3. What is the most common cause of one-way audio?

    Show answer

    A firewall or NAT problem in the media path.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz