I have RTPEngine configured to terminate SRTP. I have also recently added support for OSRTP. Since then I'm observing a strange behaviour where
in some cases incoming SRTP+SDES offer is converted to an OSRTP (as opposed to plain RTP) offer on the other side. I say "in some cases" because I've only observed this in a test deployment, but I'm unable to reproduce it locally with SIPp. Am I missing anything obvious here? Any pointers as to what might be causing this behaviour? It's also driving me nuts that I'm unable to reproduce it locally.
Problem statement:
Given:
- RTPEngine mr12.5.1.1
- Kamailio 6.0.2
- SDP offer with RTP/SAVP and a=crypto attributes
- Kamailio rtpengine_manage() call with "transport-protocol": "RTP/AVP" and "flags": [ "OSRTP-offer", "OSRTP-accept" ]
Expected behaviour:
- Rewritten SDP offer with RTP/AVP and no crypto/fingerprint attributes
Actual behaviour:
- Rewritten SDP offer with RTP/AVP AND crypto/fingerprint attributes
Logs
Attached below. The reason answer never arrives is because downstream FS is not configured to support DTLS/SDES so the call is stuck in ringing.