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 system through a customer-provided session border controller (SBC). When a call is refused with SIP 488 and Microsoft response code 531000, the text that comes with it describes the media offer the SBC sent, not the caller, the dialled number or the carrier. The call fails before any audio starts, so the fault sits in how the SBC offers to carry the voice.
The sections below show how to tell the two 531000 texts apart, how to read the offer the SBC sent, how to correct the SBC for each text 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 488 page carries the code 531000 twice, with different diagnostic text and different suggested actions:
| Text on Microsoft's page | Suggested action on the page |
|---|---|
531000 488 InternalDiagCode: SrtpEncryptionRequired, InternalErrorPhrase: Remote participant did not offer required SRTP support |
"Enable Secure Real-time Transport Protocol (SRTP) on the SBC." |
531000 488 InternalDiagCode: CannotSupportAnyMedia, InternalErrorPhrase: Invalid SDP offer: no media acceptable |
"Check the SBC configuration to determine why it offers unsupported media formats." |
The offer in both rows is the Session Description Protocol (SDP) body of the call setup message, which lists the media types, codecs and security keys the SBC proposes. Microsoft's page applies to Direct Routing PSTN calls only. It does not apply to Microsoft Calling Plan or Operator Connect deployments.
Where the text appears matters. Microsoft's monitoring page says "Direct Routing sends a detailed description of issues to the SBCs; these issues can be read from the SBC logs." The same page says Call Analytics provides standard SIP codes for call failures, but that it can only help when calls reach the internal components of Direct Routing and fail. For a rejected call setup, the SBC log is the place to read the full InternalDiagCode text.
The SIP 488 page has two more rows that are different faults. The row 531027 "There are no ICE candidates in the SDP. Non-ice endpoints cannot use bypass" belongs to media bypass and is covered in Teams Direct Routing 488 / 531027. The row 531052 "Cannot negotiate a new modality with blackhole media" is about an SDP connection address of 0.0.0.0, which Microsoft's SIP stack does not support. A call that is accepted but then has no audio is a different fault again, covered in Teams Direct Routing 410 / 531004 and 531005.
Likely causes
Microsoft's 488 page gives one suggested action per row. Microsoft's plan and media protocols pages state what a valid offer must contain, so the table lists those requirements beside each text.
| Text | Cause to check | Where Microsoft's pages describe it |
|---|---|---|
| SrtpEncryptionRequired | SRTP is not enabled on the SBC profile that faces Teams | The 488 page: enable SRTP on the SBC |
| SrtpEncryptionRequired | The offer does not use the cipher AES_CM_128_HMAC_SHA1_80 in the "inline:" format | The media protocols page, SRTP support requirements |
| SrtpEncryptionRequired | The SBC cannot establish SRTP keys with SDES | The definitions page: the SBC "must be able to establish keys using SDES" |
| CannotSupportAnyMedia | Every codec in the offer is outside Microsoft's list: SILK, G.711, G.722, G.729, AMR-WB (non-bypass only) | The plan page, supported media codecs |
| CannotSupportAnyMedia | The trunk is in media bypass and the offer relies on AMR-WB | The plan page lists "AMR-WB (non-bypass only)" |
The plan page lists the media transport of Direct Routing as TCP/RTP/SAVP and UDP/RTP/SAVP, and the definitions page says the Microsoft media processors use SRTP and SRTCP. The first text states the same requirement: SRTP support is required, and the offer from the SBC did not carry it.
Prove the cause before changing anything
All of these steps only read.
-
Read the exact text for the failing call from the SBC log or its SIP trace. The two 531000 texts have different fixes, so a call that shows "SrtpEncryptionRequired" is not helped by changing codecs, and the reverse is also true.
-
Take the INVITE the SBC sent for a failing call from the SBC's SIP trace and find the SDP body. Find the line that starts with m=audio and the lines after it. Microsoft's media protocols page shows what a valid offer carries, including a crypto line in this form:
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:V/Lr6Lsvhad/crSB9kCQ28jrYDxR2Yfk5bXryH5V|2^31
Microsoft's page says the SBC must support the cipher AES_CM_128_HMAC_SHA1_80 for offer and answer, and that the MKI and Length parameters are not required. If the offer for the failing call has no crypto line at all, that matches the SrtpEncryptionRequired text.
-
For the CannotSupportAnyMedia text, write down every codec the SBC offers on the Teams trunk, from the same SDP or from the SBC profile, and compare the list with Microsoft's supported list: SILK, G.711, G.722, G.729 and AMR-WB (non-bypass only). If no codec in the offer is on that list, that matches the text.
-
Find out whether the trunk uses media bypass, because the page's rules differ for it. Microsoft's Get-CsOnlinePSTNGateway reference says the cmdlet shows the configuration of each SBC, including whether media bypass is enabled. Run this read-only command in a Teams PowerShell session, with your own SBC name in place of the example:
Get-CsOnlinePSTNGateway -Identity sbc.contoso.com
- Confirm the code is 531000. If the row is 531027 or 531052, use the linked pages above instead.
Fix
Choose the route that matches the text from the proof step. Both routes change the SBC, not Teams. Microsoft's plan page says it supports Direct Routing only with certified devices and that if there are issues, "you must contact your SBC vendor's customer support first."
Route 1: enable SRTP on the SBC (SrtpEncryptionRequired)
Write down the current media security or SRTP setting of the SBC profile that faces Teams, and the time.
Risk: the next step changes how the SBC secures media for every call that uses that profile.
Microsoft's instruction on the 488 page is "Enable Secure Real-time Transport Protocol (SRTP) on the SBC." Set the Teams-facing profile so the offer uses SDES keys with the cipher AES_CM_128_HMAC_SHA1_80. For a trunk in media bypass, Microsoft's media protocols page says the offer must contain SDES and can contain DTLS as an option.
To undo it: set the SBC's SRTP setting back to the value you wrote down, in the same place in the SBC's interface.
Route 2: remove codecs Microsoft does not support from the offer (CannotSupportAnyMedia)
Write down the current codec list and its order for the Teams trunk profile, and the time.
Risk: the next step changes which codecs every call on that trunk can use.
Microsoft's plan page says "Administrators can force use of a specific codec on the Session Border Controller by excluding undesirable codecs from the offer." Remove the codecs that are not on Microsoft's list, and keep at least one of SILK, G.711, G.722 or G.729. Keep AMR-WB only on a trunk that is not in media bypass.
To undo it: put the codec list back in the order you wrote down.
Confirm the fix
- Place a test call that failed before. The SBC log no longer shows 531000 with SrtpEncryptionRequired or CannotSupportAnyMedia for it, and the call connects with audio in both directions.
- Read the offer in the SBC's SIP trace for the new call. For Route 1 it carries a crypto line with AES_CM_128_HMAC_SHA1_80; for Route 2 every codec on the m=audio line is on Microsoft's list.
- Open the health dashboard for Direct Routing in the Teams admin center (Voice, Direct Routing) and look at the Network effectiveness figure for the SBC. Microsoft's page says "If the number of calls is less than 100, the network effectiveness ratio might be low, but still be normal." A low figure on a handful of calls does not by itself mean the fix failed.
- If the next failure is a different code, take it to its own page: 410 for a call that connects without media, 531027 for media bypass.
What to watch afterwards
- Any later change to the SBC profile that faces Teams, because the offer comes from that profile.
- A second trunk added to test media bypass. Microsoft's media bypass planning page describes a separate trunk with a different FQDN and a different TLS signalling port on the SBC for that test.
- Media bypass being switched on for the trunk later. It adds the ICE Lite requirement described in Teams Direct Routing 488 / 531027.
- The supported codec list on Microsoft's plan page.
- Calls that connect but carry no audio, which are a media path problem rather than an offer problem.
Read next
Related articles you may want next.
- Troubleshooting3CX one-way audio: Symmetric NAT and Firewall Checker warning 103CX one-way audio: Symmetric NAT fails Firewall Checker (warning 10). Use Full Cone NAT / static RTP port mappings.Read article
- TroubleshootingGoogle Meet: network problem / firewall — UDP and TCP portsGoogle Meet network/firewall error: open UDP 3478 and 19302–19309, TCP/UDP 443; avoid proxies and VPNs for Meet media.Read article
- HostingRDP over the internet: TCP, UDP and the different Shortpath modesSeparate traditional RD Gateway transport from Azure Virtual Desktop Shortpath, including managed networks, public STUN/TURN paths and documented TCP fallback.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 PSTN calls only.
Routes 1 and 2 describe what must be true of the offer; the settings that produce it are in the SBC's own interface. Microsoft's plan page tells customers to contact the SBC vendor first and says Microsoft "reserves the right to reject support cases where a non-certified device is connected to Teams Phone through Direct Routing."
Changing the SBC profile affects every call on it. Keep the record of the old values until a test call has worked.
Sources
- SIP response code 488 — Microsoft Learn, page dated 9 November 2026, accessed 4 December 2026
- Plan Direct Routing — Microsoft Learn, page dated 12 November 2026, accessed 4 December 2026
- Direct Routing - media protocols — Microsoft Learn, page dated 10 September 2026, accessed 4 December 2026
- Direct Routing - definitions and RFC standards — Microsoft Learn, page dated 10 September 2026, accessed 4 December 2026
- Plan for media bypass with Direct Routing — Microsoft Learn, page dated 10 September 2026, accessed 4 December 2026
- Monitor Direct Routing — Microsoft Learn, page dated 10 September 2026, accessed 4 December 2026
- Health dashboard for Direct Routing — Microsoft Learn, page dated 30 April 2026, accessed 4 December 2026
- Get-CsOnlinePSTNGateway — Microsoft Learn cmdlet reference, no date shown, accessed 4 December 2026
This article was originally published on .