<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I'm struggling with quite simple issue. I need to enable SRTP on outbound leg. Call hits Freeswitch as SRTP but it leaves as regular RTP. I do not use TLS and I don't need it(yes, I know that SRTP keys are sent as plain text in this case).<br><br></div>I tried to add following code to my dialplan, but it do not helps:<br><br><pre><condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never">
<action application="set" data="sip_secure_media=true"/>
<action application="export" data="sip_secure_media=true"/>
</condition></pre>I tried to add to vars.xml following line too:<br><br><X-PRE-PROCESS cmd="set" data="rtp_secure_media_inbound=mandatory"/><br><br></div>But still without success.<br><br></div>Maybe somebody can give me a hint?<br><br></div>Thank you!<br><br></div>With kind regards,<br><br></div>Jurijs<br></div>