Open premkumarramasamy opened 1 year ago
If you could kindly email brian@signalwire.com, We can discuss options for your URGENT issue.
@briankwest, we have mailed you the details, Can you help us?
@premkumarramasamy Can you attach your SIPP Scenario to this issue?
Hi,
I use freeswitch to convert SIP TLS/SRTP on clear SIP/RTP. I have the same issue. So far I extend timers as a workaround on TLS sip profile:
<param name="enable-timer" value="true"/>
<param name="minimum-session-expires" value="14400"/>
<param name="session-timeout" value="14400"/>
Is there a fix for this issue?
Thanks
Describe the bug There is an issue in freeswitch on slow media usecase(RFC3264 and RFC6337) with SRTP and Here is the description. When Freeswitch receives an ACK with SDP from other system, fs generates blindly creates a new key(master key + salt) and that was not shared to other system. This is causing decryption failures at other system because other system still have older key, freeswitch never shared the new key. Note: FS uses SRTP in this case.
To Reproduce Steps to reproduce the behavior:
a=crypto:7 AES_CM_128_HMAC_SHA1_80 inline:fs_encoded_key
)a=crypto:7 AES_CM_128_HMAC_SHA1_80 inline:same_fs_encoded_key
)a=crypto:7 AES_CM_128_HMAC_SHA1_80 inline:sipp_encoded_key
)Expected behavior Here there are two options available that FS should not change the key in this specific case and use the previous key(one issued in initial INVITE). So there will not be any encryption failures Other option is to send SIP Update to cube/SIPp, so that other system can get the new key to decrypt the audio packets.
Package version or git hash
Trace logs Sample Initial invite from freeswitch:
RESPONSE from SIPp/Cube
RE-INVITE from SIPp_IP/CUBE
200OK from FS to SIPp/Cube
ACK from SIPp/Cube
Is there any config to stop rotating the keys or some other workarounds to stop this issue?