About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Direct Routing is the Microsoft Teams Phone feature that connects Teams to an organisation's own telephone infrastructure through a customer-provided session border controller (SBC). When one user's outbound call is refused with SIP 403 and Microsoft response code 510560, the message is naming the user, not the SBC or the carrier. The user has not been set up to make calls through Direct Routing.
The sections below show how to read the code, how to prove which setting is missing, how to enable the user through the Teams admin center or PowerShell with a record to undo from, and how to confirm the result. Nothing before the Fix section changes anything.
What the error means
Microsoft's SIP 403 page lists the row as "510560 403 User is not Enterprise Voice enabled" and carries a second row with the longer text "User is not Enterprise Voice enabled. User is not allowed to make user based dial out". Both rows give Microsoft response code 510560 and SIP response code 403, and both give the same suggested action: "Verify that the affected user is assigned a Phone System license, and enable Enterprise Voice for the user."
The page applies to Direct Routing PSTN calls only. It does not apply to Microsoft Calling Plan or Operator Connect deployments, so a 403 from either of those needs a different page.
The same Microsoft page carries other 403 rows with different meanings, and they are not the same fault:
| Code and text | What it points at | Where it is covered |
|---|---|---|
| 510559 "Get Outbound routing - No viable path (Forbidden)" | The dialled number matches no voice route | Teams Direct Routing 403 "No viable path" |
| 510532 "No trunk config was found" | The SBC name is not registered under the tenant | Teams Direct Routing 403 "No trunk config was found" |
| 510562 "User is not allowed to make outbound PSTN Calls" | The user is not correctly enabled for Direct Routing | This page, below |
| 510563 "User is only allowed to make domestic calls. This is an international call" | The user is limited to domestic calls | This page, below |
A 403 on a different system is a different fault. A 403 returned to an Asterisk phone registration, for example, is covered in SIP 403 Forbidden on Asterisk and PJSIP, and Zoom Phone has its own 403 in Zoom Phone error 486 and 403.
Likely causes
Microsoft's rows give two things to look at for 510560: the licence and Enterprise Voice. The enable-users and outbound-calls pages add where each one is set.
| Cause | Where Microsoft's pages describe it |
|---|---|
| The user has no Phone System licence | The 510560 row: verify the user is assigned a "Phone System license" |
| Enterprise Voice is not enabled for the user | The 510560 row: enable Enterprise Voice for the user |
| The user has no Direct Routing phone number assignment | Our own reading: a user with no number assignment may also have Enterprise Voice off. The enable-users page says the PowerShell command that assigns a number turns Enterprise Voice on |
| The number is managed on-premises and Enterprise Voice was never enabled online | The enable-users page gives a separate command for this case |
| The user is not correctly enabled for Direct Routing (510562) | The 510562 row |
| The user is limited to domestic calls (510563) | The 510563 row: "Check whether the user is limited to making only domestic calls." |
Prove the cause before changing anything
All of these steps only read.
-
Read the exact text and code of the failure from the call record or SIP trace. The rows 510560, 510562 and 510563 sit side by side on Microsoft's page and the fix differs. If the code is 510559 or 510532, use the linked pages above instead.
-
Check the user's Direct Routing settings. Microsoft's outbound-calls page gives this read-only command in a Teams PowerShell session:
Get-CsOnlineUser -Identity <UserId> | fl Identity,EnterpriseVoiceEnabled,HostedVoiceMail,OnPremLineURI
Our own reading: a value of False in EnterpriseVoiceEnabled matches the 510560 message text. Write down the whole output and the time.
-
Check whether the number is managed on-premises. Microsoft's enable-users page says that if OnPremLineUri is populated with an E.164 phone number, the number was assigned on-premises and synchronised to Microsoft 365. That decides which route in the Fix section applies.
-
For a user migrated from Skype for Business Server, check that the user is homed online. Microsoft's enable-users page says Direct Routing requires this and that the RegistrarPool value needs a value in the infra.lync.com domain. The page gives this read-only command:
Get-CsOnlineUser -Identity "<User name>" | fl RegistrarPool,OnPremLineUri,LineUri
-
Check the licence. In the Microsoft 365 licence list for the user, look for a Teams Phone licence. Microsoft's enable-users page lists "Create a user in Microsoft 365 and assign a Teams Phone license" as the first step of enabling a user.
-
If the message is 510562 or 510563, read the user's Direct Routing setup against the 510562 row, or check whether the user is limited to domestic calls for 510563.
Fix
Choose the route that matches the proof. A user whose number is managed in the Teams admin center uses Route 1 or Route 2. A user whose number is managed on-premises uses Route 3.
Microsoft's suggested action names the licence and Enterprise Voice together. Our own advice: because the row names both, check the licence first. The routes below start after that licence is in place.
Route 1: assign the Direct Routing number in the Teams admin center
Write down the user's current phone number, phone number type, the EnterpriseVoiceEnabled value from the proof step and the time.
Risk: the next steps change the phone number assignment of one user. Check EnterpriseVoiceEnabled with the proof command afterwards.
Microsoft's enable-users page gives these steps: go to Users > Manage users, select the user, under Account > General information select Edit, under Assign phone number choose Direct Routing from the Phone number type drop-down menu, enter the assigned phone number and a phone number extension if applicable, and select Apply. The account's general information then shows the assigned phone number and Direct Routing as the phone number type.
To undo it: if the user already had a number, open the same Edit dialog and put back the phone number and phone number type you wrote down.
Route 2: assign the number with PowerShell
Write down the user's current phone number, phone number type, the EnterpriseVoiceEnabled value from the proof step and the time.
Risk: the next command assigns a phone number to one user and, Microsoft says, the user is then automatically Enterprise Voice enabled.
Microsoft's page gives this form for a number managed online:
Set-CsPhoneNumberAssignment -Identity "<User name>" -PhoneNumber <phone number> -PhoneNumberType DirectRouting
Microsoft recommends, but does not require, a full E.164 number with the country code. For several users who share a base number, the page gives the extension form, for example +14255388701;ext=1001.
To undo it: if the user already had a number, run the same command again with the phone number and phone number type you wrote down.
Route 3: enable Enterprise Voice online for a number managed on-premises
Write down the current value of EnterpriseVoiceEnabled from the proof step and the time.
Risk: the next command turns Enterprise Voice on, online, for one user.
Microsoft gives this command for a user whose number is managed on-premises:
Set-CsPhoneNumberAssignment -Identity "<User name>" -EnterpriseVoiceEnabled $true
Do not set EnterpriseVoiceEnabled to False as a rollback. Microsoft warns against this in a hybrid environment. Keep the prior setting in the change record and have the Teams owner handle recovery if the change causes trouble.
510562 and 510563
For 510562, Microsoft's suggested action is to verify the Phone System licence and that the user is correctly enabled for Direct Routing, which Routes 1 to 3 cover. For 510563, Microsoft's suggested action is to check whether the user is limited to domestic calls.
Confirm the fix
- Run the read-only Get-CsOnlineUser command from the proof step again. EnterpriseVoiceEnabled no longer reads False, and the phone number fields match what you set.
- Place a test outbound call as the user. The 510560 refusal no longer appears in the call record.
- If the next refusal is 510559, the user is now enabled but the dialled number matches no voice route. That page covers it.
- Microsoft's call-routing page describes a self-diagnostics test that runs inside the tenant to verify a user is correctly configured for Direct Routing: in the Microsoft 365 admin center, select Run Tests for "Teams Direct Routing". The page says it is not available for Microsoft 365 Government, Microsoft 365 operated by 21Vianet or Microsoft 365 Germany.
What to watch afterwards
- A new user created later without the licence or number assignment can return the same 510560.
- Users moved from Skype for Business Server whose OnPremLineUri stays populated. Microsoft says all phone attributes must be managed online before the on-premises environment is decommissioned.
- Teams Only mode. Microsoft's enable-users page says Direct Routing requires users to be in Teams Only mode so that incoming calls land in the Teams client, by assigning the "UpgradeToTeams" instance of TeamsUpgradePolicy.
- The rows next door on the same Microsoft page: 510562 and 510563 for the same user, and 510559 or 510532 for the call path.
Read next
Related articles you may want next.
- TroubleshootingSIP 403 Forbidden on REGISTER: Asterisk PJSIP AOR has no max_contactsAsterisk PJSIP SIP 403 on REGISTER: AOR missing max_contacts or contact limit. RFC 3261 403; set max_contacts.Read article
- TroubleshootingTeams "You're missing out! Ask your admin to enable Microsoft Teams" when signing inTeams says 'You're missing out! Ask your admin to enable Microsoft Teams'? Microsoft's causes: Education tenant not enabled, or Exploratory access blocked.Read article
- TroubleshootingZoom Phone 486 peer busy / 403 account inactiveZoom Phone 403 inactive account and 486 peer busy: read the last three digits, then follow Zoom Phone admin steps.Read article
Risks and limits
These steps come from Microsoft's pages and have not been run or lab-tested. They apply to Direct Routing only.
Microsoft's SIP 403 page, dated 25 June 2025, lists the codes and suggested actions. The enable-users page says assigning a number automatically uploads it to Microsoft's number inventory if it is not already there, and that Direct Routing numbers must be released from that inventory before a port to another PSTN connectivity option.
Sources
- SIP response code 403 — Microsoft Learn, page dated 25 June 2025, accessed 4 December 2026
- Enable users for Direct Routing — Microsoft Learn, page dated 21 September 2026, accessed 4 December 2026
- Resolve issues that affect outbound Direct Routing calls — Microsoft Learn, page dated 23 November 2026, accessed 4 December 2026
- Configure call routing for Direct Routing — Microsoft Learn, page dated 10 September 2026, accessed 4 December 2026
This article was originally published on .