Troubleshooting SRTP and crypto negotiation failures
Verified 2026-10-02 · 59 sources · tier 1–3
Also known as srtp crypto suite mismatch, srtp fallback.
SRTP crypto negotiation in SIP uses either SDES, which carries the SRTP master key inline in SDP, or DTLS-SRTP, which negotiates the SRTP keys in the media path by a DTLS handshake while signaling carries only certificate fingerprints 4723. Under SDES the answerer must accept exactly one offered crypto attribute or reject the offered media stream, and products such as CUBE, Expressway, Asterisk and FreeSWITCH expose settings that determine whether an encryption mismatch fails the call or proceeds without SRTP 41627431.
How SDES negotiation works
Under SDES the answerer must accept exactly one of the offered crypto attributes or reject the offered media stream, and RFC 4568 allows no partial acceptance 41. The SDES answer carries the tag and crypto-suite of the accepted crypto attribute from the offer, so the tag in the answer identifies which offered line was chosen 40. In SDP offer/answer, an answerer rejects an individual offered media stream by setting the port of the corresponding m-line in the answer to 0, keeping the same number of m-lines as the offer 49.
See also SDP offer answer and codec negotiation.
The SDES inline key-params value is the base64 key||salt, optionally followed by a lifetime and an MKI:length field, each separated by '|' 44. The SDES session parameters UNENCRYPTED_SRTP, UNENCRYPTED_SRTCP and UNAUTHENTICATED_SRTP modify the default, in which SRTP and SRTCP payloads are encrypted and authenticated 48. When a re-offer changes the media IP address or port, SDES requires both offerer and answerer to supply a new master key, which creates a fresh crypto context 45.
SDES carries the SRTP master key inline in SDP, so RFC 4568 requires the signaling to be protected by S/MIME, TLS, IPsec or an equivalent data security service 47. In CUCM, SRTP on a trunk with a non-secure profile still works, but the SRTP keys are visible in signaling and traces 17. In CUCM 15, when SRTP Allowed is checked on a SIP trunk, Cisco recommends an encrypted TLS SIP trunk security profile so that keys are not exposed during call negotiation 19.
See also SIP TLS handshake failures on trunks.
Crypto suite names and key lengths
RFC 7714 registers the SDES crypto suites AEAD_AES_128_GCM and AEAD_AES_256_GCM for AES-GCM SRTP 33. RFC 6188 registers the SDES crypto suites AES_192_CM_HMAC_SHA1_80, AES_192_CM_HMAC_SHA1_32, AES_256_CM_HMAC_SHA1_80 and AES_256_CM_HMAC_SHA1_32 1. The RFC 6188 AES-256 counter-mode suites use a 32-octet master key and a 14-octet master salt, for 46 octets of keying material, unlike the 30 octets used by the RFC 4568 suites 2.
We infer that a strict-matching peer may fail to recognise an AES-256 counter-mode suite offered under a different spelling, because FreeSWITCH documents the suite as AES_CM_256_HMAC_SHA1_80 while RFC 6188 registers AES_256_CM_HMAC_SHA1_80 32.
From IOS XE Everest 16.5.1b, CUBE enables AEAD_AES_256_GCM, AEAD_AES_128_GCM, AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 by default, and voice class srtp-crypto lets an administrator restrict and order them 5. Cisco's Local Gateway configuration for Webex Calling defines voice class srtp-crypto with only AES_CM_128_HMAC_SHA1_80, and states that Webex Calling supports only SHA1_80 59. A Direct Routing SBC must support the SRTP cipher AES_CM_128_HMAC_SHA1_80 for both offer and answer, using the inline key||salt format with an optional lifetime 56. For Direct Routing, MKI and length parameters are not required in the SDES inline key 53. Microsoft's documented SDES-only offer from Teams to the SBC lists 2 crypto lines on an RTP/SAVP m-line: AES_CM_128_HMAC_SHA1_32 with tag 0 and AES_CM_128_HMAC_SHA1_80 with tag 1 55.
How DTLS-SRTP differs
With DTLS-SRTP, the DTLS handshake negotiates the SRTP keys in the media path, and signaling carries only certificate fingerprints, so no a=crypto key appears in SDP 23. A DTLS-SRTP offerer must use a=setup:actpass and must be ready to receive a DTLS ClientHello before the answer arrives 24. If the certificate presented in the DTLS handshake does not match the SDP fingerprint, the endpoint must tear down the media session immediately 22.
Between the SBC and the Direct Routing media processor, SDES is always used, and Media Processors convert DTLS-only clients to SDES in non-bypass calls 57. In media bypass, an offer from the SBC must contain SDES and may optionally also carry DTLS attributes 51.
Opportunistic SRTP and fallback to RTP
WarmTransfer's reading of the sources is that RFC 4568 itself defines no best-effort or fallback-to-RTP procedure, so any SRTP-to-RTP fallback seen on a trunk is vendor or profile behaviour layered on top of SDES, such as OSRTP or a vendor fallback setting 43.
Opportunistic SRTP (OSRTP) is specified in RFC 8643, an Informational RFC published in August 2019, not a standards-track document 37. An OSRTP offer uses the RTP/AVP or RTP/AVPF profile but still includes SRTP keying attributes such as a=crypto or a=fingerprint 39. An answerer accepts OSRTP by returning SRTP keying attributes that match one of the keying methods in the offer 35. An answerer declines OSRTP by omitting SRTP keying attributes from the answer, and the session then proceeds as plain RTP with no encryption or authentication 36.
Platform differences
Microsoft Teams Direct Routing
Microsoft lists the Direct Routing media transport requirement as TCP/RTP/SAVP and UDP/RTP/SAVP, which are secure RTP profiles rather than plain RTP/AVP 52. With media bypass, the SBC must answer each non-audio m-line that Teams offers, such as m=video on a forwarded call, with a matching m-line set to port 0, per RFC 3264 54.
See also Troubleshooting Teams Direct Routing.
Cisco CUBE
Cisco's IOS XE 3S documentation states that on CUBE, a call falls back to RTP when one endpoint does not support SRTP only if srtp fallback is configured on the relevant dial peer; otherwise the call fails 6. When the secure SIP trunk from CUBE faces Cisco UCM, srtp negotiate cisco must be configured under voice service voip for non-Cisco SRTP fallback to work 8. CUBE SRTP-RTP interworking does not support asymmetric SRTP fallback configurations, SRTCP-RTCP interworking, or SRTP-RTP video calls 9. Cisco recommends configuring SRTP fallback on CUBE SIP trunks so that supplementary services that switch media, such as music on hold, transfer and re-INVITE-based hold, keep working 7. Whether current IOS XE releases behave the same way is not covered by the sources below.
For SRTP-RTP interworking on CUBE, platforms running IOS require DSP resources, while platforms running IOS XE do not 16. On CUBE releases that use DSP transcoders for SRTP-RTP interworking, the call falls back to RTP-RTP when no transcoding resources are available 14.
CUBE SRTP pass-through must be configured on both call legs 12. CUBE SRTP pass-through transparently passes all crypto suites, supported and unsupported, so suite agreement is left to the two endpoints 11. When CUBE SRTP pass-through is enabled, media interworking is not supported on the call 13.
See also Setting up TLS and SRTP on CUBE.
Cisco Unified Communications Manager
CUCM uses RTP when it cannot set up a secure path or when at least one device lacks SRTP support, and SRTP-to-RTP fallback can happen during transfers to non-secure devices, conferencing, transcoding and music on hold 20. If MTP Required is checked on a CUCM SIP trunk, CUCM disables audio pass-through and classifies the call as non-secure 18. In Cisco's CUCM-Expressway SRTP example, CUCM lets a call fall back to unencrypted media only when the x-cisco-srtp-fallback header is present, and without that header CUCM treats encryption as mandatory 21.
Cisco Expressway
Expressway requires TLS transport on the zone for the Force encrypted and Best effort media encryption modes 29. Expressway enforces media encryption policy through its B2BUA, which X14.0.1 limits to 100 concurrent encryption-policy calls, or 500 on Large systems 26.
Webex Calling Local Gateway
Media between a Local Gateway and Webex Calling uses SRTP, and the Webex Calling trunk dial peer is configured with the srtp command 58.
Asterisk and FreeSWITCH
The Asterisk res_pjsip endpoint option media_encryption accepts no (the default), sdes for in-SDP SRTP keys, or dtls for DTLS-SRTP 3. In FreeSWITCH, an unset rtp_secure_media means inbound calls accept SAVP if it is offered without requiring it, and outbound calls do not offer SRTP; suites can be restricted by appending a colon-separated list 30.
See also FreeSWITCH.
Settings that decide whether a mismatch fails or falls back
| Platform | Setting | Documented behaviour |
|---|---|---|
| CUBE | srtp fallback on the dial peer | Falls back to RTP only if configured; otherwise the call fails, per IOS XE 3S documentation 6 |
| Expressway zone | Force encrypted | All media must be encrypted; the call is dropped if the target is configured not to use encryption 28 |
| Expressway zone | Best effort | Encryption is used if available, otherwise media falls back to unencrypted 27 |
| Expressway zone | Force unencrypted | May drop calls from encryption-required targets 27 |
| Expressway zone | Auto (default) | Applies no encryption policy and leaves encryption to what the endpoints request 25 |
| Asterisk | media_encryption_optimistic (default no) | Uses encryption if possible but does not terminate the session if encryption cannot be established 4 |
| FreeSWITCH | rtp_secure_media=mandatory | Accepts or offers SAVP only 31 |
| FreeSWITCH | rtp_secure_media=optional | Offers and accepts both SAVP and AVP, preferring SAVP 31 |
| FreeSWITCH | rtp_secure_media=forbidden | Refuses SAVP, so SRTP-only offers fail 31 |
Diagnosing it
Compare the tag in the SDES answer with the tags in the offer, because the answer carries the tag and crypto-suite of the accepted crypto attribute 40. An answer m-line with port 0 means the answerer rejected that offered media stream 49. With Direct Routing media bypass, the SBC is required to answer non-audio m-lines from Teams with port 0, so a rejected m=video stream on a forwarded call is the specified behaviour 54.
When suites match by name but SRTP still fails, check the inline key length, because the AES-256 counter-mode suites use 46 octets of keying material where the RFC 4568 suites use 30 2. If media fails after a re-INVITE that moved the media address or port, confirm that both sides supplied a new master key, as SDES requires 45. For DTLS-SRTP, a certificate that does not match the SDP fingerprint requires the endpoint to tear down the media session immediately 22.
On CUBE, show call active voice brief shows whether SRTP is on or off for each call leg, and debug voip srtp error/session plus debug ccsip are the documented troubleshooting debugs 15. If the target adjacency of a CUBE SRTP pass-through call does not support pass-through, CUBE rejects the call with SIP 415 Unsupported Media Type, not 488 10.
See also SIP 488 and codec negotiation failures.
See also One-way and no-way audio diagnosis.
Applicability
The protocol behaviour in this article is drawn from RFC 4568, RFC 3264, RFC 8643, RFC 7714, RFC 6188 and RFC 5763 41493733123. The CUBE default crypto suite list applies from IOS XE Everest 16.5.1b 5. The CUCM SRTP Allowed guidance is stated for CUCM 15 19. The Expressway B2BUA encryption-policy call limits are stated for X14.0.1 26. Applies to: SignalWire FreeSWITCH, Microsoft Teams Direct Routing, Cisco Unified Border Element, Cisco Webex Calling, Cisco Unified Communications Manager, Cisco Expressway, and Sangoma Asterisk. Deployments: on-premises and multi-tenant. Sources checked 2026-10-02.
What remains uncertain
Whether current CUBE releases still handle SRTP fallback, srtp negotiate cisco and DSP-based interworking exactly as documented is not covered by the sources below. Whether CUCM 15 still depends on the x-cisco-srtp-fallback header in the way Cisco's CUCM-Expressway example describes is not covered by the sources below. How Webex Calling responds to a Local Gateway offer that lists suites other than AES_CM_128_HMAC_SHA1_80 is not covered by the sources below. Whether a specific peer actually rejects the FreeSWITCH spelling of the AES-256 counter-mode suites is not covered by the sources below. Expressway encryption-policy call limits for releases other than X14.0.1 are not covered by the sources below.
See also
Related to
- One-way and no-way audio diagnosis — Key changes on re-INVITE through B2BUAs are a candidate cause of one-way audio on encrypted calls (see frontier)
- SIP 488 and codec negotiation failures — Both present as 488 Not Acceptable Here; this topic covers the crypto/profile cause rather than codec mismatch
- SIP TLS handshake failures on trunks — SDES keys require TLS-protected signaling; secure trunks fail when TLS fails before SRTP is negotiated
- Setting up TLS and SRTP on CUBE — Setup guide for CUBE TLS/SRTP; this topic covers what goes wrong after setup
- Troubleshooting Teams Direct Routing — Direct Routing requires SDES SRTP with AES_CM_128_HMAC_SHA1_80 between SBC and Teams
Troubleshoots
- SRTP and media encryption negotiation — srtp-media-security covers SRTP concepts and design; this topic covers failure symptoms in SDES/DTLS offer-answer; best-effort fallback and SRTP-RTP interworking
Sources
- 1RFC 6188 registers the SDES crypto suites AES_192_CM_HMAC_SHA1_80, AES_192_CM_HMAC_SHA1_32, AES_256_CM_HMAC_SHA1_80 and AES_256_CM_HMAC_SHA1_32.RFC 6188: The Use of AES-192 and AES-256 in Secure RTP · Sections 4 and 5 · Checked 2026-10-02
- 2The RFC 6188 AES-256 counter-mode suites use a 32-octet master key and a 14-octet master salt (46 octets of keying material), unlike the 30 octets used by the RFC 4568 suites.RFC 6188: The Use of AES-192 and AES-256 in Secure RTP · Section 4 (parameter tables) · Checked 2026-10-02
- 3The Asterisk res_pjsip endpoint option media_encryption accepts no (default), sdes (in-SDP SRTP keys) or dtls (DTLS-SRTP).res_pjsip - Asterisk Documentation · endpoint option media_encryption · Checked 2026-10-02
- 4With Asterisk media_encryption_optimistic enabled, encryption is used if possible but the session is not terminated if it cannot be established; the default is no.res_pjsip - Asterisk Documentation · endpoint option media_encryption_optimistic · Checked 2026-10-02
- 5From IOS XE Everest 16.5.1b CUBE enables AEAD_AES_256_GCM, AEAD_AES_128_GCM, AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 by default, and voice class srtp-crypto lets an administrator restrict and order them.Configure SRTP-RTP Interworking on CUBE · Background Information / Configurations (voice class srtp-crypto) · Checked 2026-10-02
- 6On CUBE, a call falls back to RTP when one endpoint does not support SRTP only if srtp fallback is configured on the relevant dial peer; otherwise the call fails.Cisco UBE Support for SRTP-RTP Internetworking (Protocol-Independent Features and Setup Configuration Guide, IOS XE Release 3S, ASR 1000) · SRTP fallback section (search 'Fallback takes place only if') · Checked 2026-10-02
- 7Cisco recommends configuring SRTP fallback on CUBE SIP trunks so supplementary services that switch media, such as music on hold, transfer and re-INVITE-based hold, keep working.Cisco UBE Support for SRTP-RTP Internetworking (Protocol-Independent Features and Setup Configuration Guide, IOS XE Release 3S, ASR 1000) · Supplementary services (search 'Cisco recommends that you configure such SIP trunks for SRTP fallback') · Checked 2026-10-02
- 8When the secure SIP trunk from CUBE faces Cisco UCM, srtp negotiate cisco must be configured under voice service voip for non-Cisco SRTP fallback to work.Cisco UBE Support for SRTP-RTP Internetworking (Protocol-Independent Features and Setup Configuration Guide, IOS XE Release 3S, ASR 1000) · search 'srtp negotiate cisco' · Checked 2026-10-02
- 9CUBE SRTP-RTP interworking does not support asymmetric SRTP fallback configurations, SRTCP-RTCP interworking, or SRTP-RTP video calls.Cisco UBE Support for SRTP-RTP Internetworking (Protocol-Independent Features and Setup Configuration Guide, IOS XE Release 3S, ASR 1000) · Restrictions · Checked 2026-10-02
- 10If the target adjacency of a CUBE SRTP pass-through call does not support pass-through, CUBE rejects the call with SIP 415 Unsupported Media Type, not 488.Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards - SRTP-SRTP Pass-Through · Restrictions · Checked 2026-10-02
- 11CUBE SRTP pass-through transparently passes all crypto suites, supported and unsupported, so suite agreement is left to the two endpoints.Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards - SRTP-SRTP Pass-Through · Feature description · Checked 2026-10-02
- 12CUBE SRTP pass-through must be configured on both call legs.Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards - SRTP-SRTP Pass-Through · Restrictions · Checked 2026-10-02
- 13When CUBE SRTP pass-through is enabled, media interworking is not supported on the call.Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards - SRTP-SRTP Pass-Through · Restrictions · Checked 2026-10-02
- 14On CUBE releases that use DSP transcoders for SRTP-RTP interworking, the call falls back to RTP-RTP when no transcoding resources are available.Cisco UBE Support for SRTP-RTP Internetworking (Protocol-Independent Features and Setup Configuration Guide, IOS XE Release 3S, ASR 1000) · SRTP fallback section (search 'no transcoding resources') · Checked 2026-10-02
- 15On CUBE, show call active voice brief shows whether SRTP is on or off for each call leg, and debug voip srtp error/session plus debug ccsip are the documented troubleshooting debugs.Configure SRTP-RTP Interworking on CUBE · Verify; Troubleshoot · Checked 2026-10-02
- 16For SRTP-RTP interworking on CUBE, platforms running IOS require DSP resources, while platforms running IOS XE do not.Configure SRTP-RTP Interworking on CUBE · Background Information · Checked 2026-10-02
- 17In CUCM, SRTP on a trunk with a non-secure profile still works, but the SRTP keys are visible in signaling and traces.Security Guide for Cisco Unified Communications Manager, Release 15 and SUs - Trunk and Gateway SIP Security · search 'keys will be exposed in signaling and traces' · Checked 2026-10-02
- 18If MTP Required is checked on a CUCM SIP trunk, CUCM disables audio pass-through and classifies the call as non-secure.Security Guide for Cisco Unified Communications Manager, Release 15 and SUs - Trunk and Gateway SIP Security · search 'MTP Required' · Checked 2026-10-02
- 19In CUCM 15, when SRTP Allowed is checked on a SIP trunk, Cisco recommends an encrypted TLS SIP trunk security profile so keys are not exposed during call negotiation.Security Guide for Cisco Unified Communications Manager, Release 15 and SUs - Trunk and Gateway SIP Security · search 'SRTP Allowed' · Checked 2026-10-02
- 20CUCM uses RTP when it cannot set up a secure path or at least one device lacks SRTP support, and SRTP-to-RTP fallback can happen during transfers to non-secure devices, conferencing, transcoding and music on hold.Security Guide for Cisco Unified Communications Manager, Release 15 and SUs - Trunk and Gateway SIP Security · search 'SRTP-to-RTP fallback' · Checked 2026-10-02
- 21In Cisco's CUCM-Expressway SRTP example, CUCM lets a call fall back to unencrypted media only when the x-cisco-srtp-fallback header is present; without it CUCM treats encryption as mandatory.Secure RTP between CUCM and VCS or Expressway Configuration Example · Media Encryption Options > Best Effort · Checked 2026-10-02
- 22If the certificate presented in the DTLS handshake does not match the SDP fingerprint, the endpoint must tear down the media session immediately.RFC 5763: Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS) · Section 5 (Establishing a Secure Channel) · Checked 2026-10-02
- 23With DTLS-SRTP the SRTP keys are negotiated in the media path by the DTLS handshake; signaling only carries certificate fingerprints, so no a=crypto key appears in SDP.RFC 5763: Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS) · Section 5 (Establishing a Secure Channel) · Checked 2026-10-02
- 24A DTLS-SRTP offerer must use a=setup:actpass and be ready to receive a DTLS ClientHello before the answer arrives.RFC 5763: Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS) · Section 5 (Establishing a Secure Channel) · Checked 2026-10-02
- 25The Expressway zone media encryption mode Auto, the default, applies no encryption policy and leaves encryption to what the endpoints request.Cisco Expressway Administrator Guide (X14.0.1) - Zones and Neighbors · Configuring Media Encryption Policy · Checked 2026-10-02
- 26Expressway enforces media encryption policy through its B2BUA, which X14.0.1 limits to 100 concurrent encryption-policy calls (500 on Large systems).Cisco Expressway Administrator Guide (X14.0.1) - Zones and Neighbors · Configuring Media Encryption Policy (B2BUA notes) · Checked 2026-10-02
- 27On a Cisco Expressway zone set to Best effort, encryption is used if available and media otherwise falls back to unencrypted; Force unencrypted may drop calls from encryption-required targets.Cisco Expressway Administrator Guide (X14.0.1) - Zones and Neighbors · Configuring Media Encryption Policy · Checked 2026-10-02
- 28On a Cisco Expressway zone set to Force encrypted, all media must be encrypted and the call is dropped if the target is configured not to use encryption.Cisco Expressway Administrator Guide (X14.0.1) - Zones and Neighbors · Configuring Media Encryption Policy · Checked 2026-10-02
- 29Expressway requires TLS transport on the zone for the Force encrypted and Best effort media encryption modes.Cisco Expressway Administrator Guide (X14.0.1) - Zones and Neighbors · Configuring Media Encryption Policy (B2BUA notes) · Checked 2026-10-02
- 30In FreeSWITCH, an unset rtp_secure_media means inbound calls accept SAVP if offered without requiring it, and outbound calls do not offer SRTP; suites can be restricted by appending a colon-separated list.Chapter 17: Media Handling (FreeSWITCH documentation) · Secure Media with SRTP (defaults; crypto suite syntax) · Checked 2026-10-02
- 31FreeSWITCH rtp_secure_media=mandatory accepts or offers SAVP only, optional offers and accepts both SAVP and AVP preferring SAVP, and forbidden refuses SAVP so SRTP-only offers fail.Chapter 17: Media Handling (FreeSWITCH documentation) · Secure Media with SRTP · Checked 2026-10-02
- 32FreeSWITCH documents AES-256 counter-mode suites as AES_CM_256_HMAC_SHA1_80 while RFC 6188 registers AES_256_CM_HMAC_SHA1_80, so a strict-matching peer may fail to recognise a suite offered under the other spelling.inferredChapter 17: Media Handling (FreeSWITCH documentation) · Secure Media with SRTP (supported suite names) · Checked 2026-10-02
- 33RFC 7714 registers the SDES crypto suites AEAD_AES_128_GCM and AEAD_AES_256_GCM for AES-GCM SRTP.RFC 7714: AES-GCM Authenticated Encryption in the Secure Real-time Transport Protocol (SRTP) · Section 14.1 (SDES) · Checked 2026-10-02
- 34RFC 7714 requires the AES-GCM SRTP authentication tag to be the full 16 octets; it must not be truncated.RFC 7714: AES-GCM Authenticated Encryption in the Secure Real-time Transport Protocol (SRTP) · search string 'MUST NOT be truncated' · Checked 2026-10-02
- 35An answerer accepts OSRTP by returning SRTP keying attributes that match one of the keying methods in the offer.RFC 8643: Opportunistic Secure Real-time Transport Protocol (OSRTP) · Section 3.2 (Generating the Answer) · Checked 2026-10-02
- 36An answerer declines OSRTP by omitting SRTP keying attributes from the answer, and the session then proceeds as plain RTP with no encryption or authentication.RFC 8643: Opportunistic Secure Real-time Transport Protocol (OSRTP) · Section 3.2 (Generating the Answer) · Checked 2026-10-02
- 37Opportunistic SRTP (OSRTP) is specified in RFC 8643, an Informational RFC published August 2019, not a standards-track document.RFC 8643: Opportunistic Secure Real-time Transport Protocol (OSRTP) · RFC header (Category: Informational) · Checked 2026-10-02
- 38OSRTP does not require authentication of the key agreement, so it protects against passive eavesdropping but not against active attackers.RFC 8643: Opportunistic Secure Real-time Transport Protocol (OSRTP) · Introduction and Security Considerations · Checked 2026-10-02
- 39An OSRTP offer uses the RTP/AVP or RTP/AVPF profile but still includes SRTP keying attributes such as a=crypto or a=fingerprint.RFC 8643: Opportunistic Secure Real-time Transport Protocol (OSRTP) · Section 3.1 (Generating the Initial OSRTP Offer) · Checked 2026-10-02
- 40An SDES answer carries the tag and crypto-suite of the accepted crypto attribute from the offer, so the tag in the answer identifies which offered line was chosen.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 5.1.2 (Generating the Initial Answer - Unicast Streams) · Checked 2026-10-02
- 41Under SDES the answerer must accept exactly one of the offered crypto attributes or reject the offered media stream; there is no partial acceptance.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 5.1.2 (Generating the Initial Answer - Unicast Streams) · Checked 2026-10-02
- 42An SDES crypto attribute has the form a=crypto:<tag> <crypto-suite> <key-params> [<session-params>], where the tag is a decimal identifier unique within the media line.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 4 (SDP crypto attribute and parameters) · Checked 2026-10-02
- 43RFC 4568 itself defines no best-effort or fallback-to-RTP procedure, so any SRTP-to-RTP fallback seen on a trunk is vendor or profile behaviour layered on top of SDES (for example OSRTP or a vendor fallback setting).inferredRFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 5.1.2 read with absence of fallback text across the document · Checked 2026-10-02
- 44The SDES inline key-params value is the base64 key||salt optionally followed by a lifetime and an MKI:length field, each separated by '|'.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 6.1 (SRTP Key Parameter) · Checked 2026-10-02
- 45When a re-offer changes the media IP address or port, SDES requires both offerer and answerer to supply a new master key, creating a fresh crypto context.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 7.1.4 (Modifying the Session) · Checked 2026-10-02
- 46RFC 4568 defines three SRTP crypto suites for SDES: AES_CM_128_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_32 and F8_128_HMAC_SHA1_80, all using a 30-octet key-and-salt.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 6.2 (SRTP crypto suites) · Checked 2026-10-02
- 47Because SDES carries the SRTP master key inline in SDP, RFC 4568 requires the signaling to be protected by S/MIME, TLS, IPsec or an equivalent data security service.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Section 8.3 (Signaling Authentication and Signaling Encryption) · Checked 2026-10-02
- 48SDES session parameters UNENCRYPTED_SRTP, UNENCRYPTED_SRTCP and UNAUTHENTICATED_SRTP modify the default in which SRTP and SRTCP payloads are encrypted and authenticated.RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams · Sections 6.3.2 and 6.3.3 · Checked 2026-10-02
- 49In SDP offer/answer an answerer rejects an individual offered media stream by setting the port of the corresponding m-line in the answer to zero, keeping the same number of m-lines as the offer.RFC 3264 — An Offer/Answer Model with the Session Description Protocol (SDP) · Section 6 (Generating the Answer) · Checked 2026-10-02
- 50SIP 488 Not Acceptable Here indicates that the session description in the request could not be accepted by the user agent at that Request-URI, which is how an SRTP-only or crypto-incompatible offer is commonly rejected at the SIP layer.RFC 3261 — SIP: Session Initiation Protocol · Section 21.4.26 (488 Not Acceptable Here) · Checked 2026-10-02
- 51In media bypass, an offer from the SBC must contain SDES and may optionally also carry DTLS attributes.Direct Routing support for media bypass - Microsoft Teams · Format for offer from SBC in bypass mode · Checked 2026-10-02
- 52Microsoft lists the Direct Routing media transport requirement as TCP/RTP/SAVP and UDP/RTP/SAVP, i.e. secure RTP profiles rather than plain RTP/AVP.Plan Direct Routing · Infrastructure requirements table, row 'Media transport' · Checked 2026-10-02
- 53For Direct Routing, MKI and length parameters are not required in the SDES inline key.Direct Routing support for media bypass - Microsoft Teams · SRTP support requirements · Checked 2026-10-02
- 54With media bypass, the SBC must answer each non-audio m-line Teams offers (such as m=video on a forwarded call) with a matching m-line set to port zero, per RFC 3264.Direct Routing support for media bypass - Microsoft Teams · Handling M lines in SDP · Checked 2026-10-02
- 55Microsoft's documented SDES-only offer from Teams to the SBC lists two crypto lines, AES_CM_128_HMAC_SHA1_32 (tag 0) and AES_CM_128_HMAC_SHA1_80 (tag 1), on an RTP/SAVP m-line.Direct Routing support for media bypass - Microsoft Teams · Format for offer from Teams to SBC > Format for SDES only offer to SBC · Checked 2026-10-02
- 56A Direct Routing SBC must support the SRTP cipher AES_CM_128_HMAC_SHA1_80 for both offer and answer, using the inline key||salt with optional lifetime format.Direct Routing support for media bypass - Microsoft Teams · SRTP support requirements · Checked 2026-10-02
- 57Between the SBC and the Direct Routing media processor SDES is always used, and Media Processors convert DTLS-only clients to SDES in non-bypass calls.Direct Routing support for media bypass - Microsoft Teams · SDES support requirements · Checked 2026-10-02
- 58Media between a Local Gateway and Webex Calling uses SRTP, and the Webex Calling trunk dial peer is configured with the srtp command.Configure Local Gateway on Cisco IOS XE for Webex Calling · Introduction; dial-peer 100 configuration · Checked 2026-10-02
- 59Cisco's Local Gateway configuration for Webex Calling defines voice class srtp-crypto with only AES_CM_128_HMAC_SHA1_80, stating that Webex Calling supports only SHA1_80.Configure Local Gateway on Cisco IOS XE for Webex Calling · Configure Webex Calling registration-based trunk (voice class srtp-crypto step) · Checked 2026-10-02
Documents
RFC 3261 — SIP: Session Initiation Protocol
RFC 3264 — An Offer/Answer Model with the Session Description Protocol (SDP)
RFC 4568: Session Description Protocol (SDP) Security Descriptions for Media Streams
RFC 5763: Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS)
RFC 6188: The Use of AES-192 and AES-256 in Secure RTP
RFC 7714: AES-GCM Authenticated Encryption in the Secure Real-time Transport Protocol (SRTP)
RFC 8643: Opportunistic Secure Real-time Transport Protocol (OSRTP)
Chapter 17: Media Handling (FreeSWITCH documentation)
Cisco Expressway Administrator Guide (X14.0.1) - Zones and Neighbors
Cisco UBE Support for SRTP-RTP Internetworking (Protocol-Independent Features and Setup Configuration Guide, IOS XE Release 3S, ASR 1000)
Cisco Unified Border Element Configuration Guide - Cisco IOS XE 17.6 Onwards - SRTP-SRTP Pass-Through
Configure Local Gateway on Cisco IOS XE for Webex Calling
Configure SRTP-RTP Interworking on CUBE
Direct Routing support for media bypass - Microsoft Teams
Plan Direct Routing
Secure RTP between CUCM and VCS or Expressway Configuration Example
Security Guide for Cisco Unified Communications Manager, Release 15 and SUs - Trunk and Gateway SIP Security
res_pjsip - Asterisk Documentation
Cite this page
APA
WarmTransfer. (2026, October 2). Troubleshooting SRTP and crypto negotiation failures. WarmTransfer. https://warmtransfer.net/knowledge/srtp-negotiation-failures
BibTeX
@misc{warmtransfer-srtp-negotiation-failures,
title = {Troubleshooting SRTP and crypto negotiation failures},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/srtp-negotiation-failures},
note = {Verified 2026-10-02}
}