Change your conditions to rtp_secure_media instead of sip_secure_media. <span></span><br><br>On Thursday, November 14, 2013, Privus 007  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I&#39;ve been using FS successfully for some years now. Recently I decided to update from 1.2.12 to latest master via git (running FS on bare metal Debian 7.0 64bit)</div><div><br></div>

<div>Obviously I saved my conf directory and tried to apply it to the 1.5.7b+git~20131114 version I just installed and have up and running.</div><div><br></div><div>I realize that master is not yet stable but I notice that there seems to be some incompatibility issues, namely with SRTP.</div>

<div><br></div><div>All my SRTP calls are now failing with &quot;incompatible destination&quot; messages in the logs, and looking through them more closely I see this:</div><div><br></div><div><br></div><div><div>parsing [features-&gt;is_secure] continue=true</div>

<div>Dialplan: sofia/external/1000@mydomain Regex (PASS) [is_secure] ${sip_via_protocol}(tls) =~ /tls/ break=on-false</div><div>Dialplan: sofia/external/1000@mydomain Regex (FAIL) [is_secure] ${sip_secure_media_confirmed}() =~ /^true$/ break=on-false</div>

<div>Dialplan: sofia/external/1000@mydomain ANTI-Action eval(not_secure) </div><div>2013-11-14 22:02:22.006273 [NOTICE] switch_core_session.c:2940 Execute eval(not_secure)</div></div><div><br></div><div><br></div><div>Notice the FAIL for sip_secure_media_confirmed. This is very strange since I&#39;m sure that SRTP is enabled (both CSipSimple Android client and Groundwire iOS client confirm that indeed the signalling is secured via TLS and the media via SDES SRTP).</div>

<div>A few seconds earlier in the logs, FS also sees the crypto taking place and there doesn&#39;t seem to be any problem</div><div><br></div><div><div>2013-11-14 22:02:21.986279 [INFO] switch_rtp.c:2830 Activating Audio Secure RTP SEND</div>

<div>2013-11-14 22:02:21.986279 [DEBUG] switch_core_sqldb.c:2354 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_80</div></div><div><br></div><div>So the problem seems to be with the sip_secure_media_confirmed variable. This same setup worked fine yesterday with 1.2.12, so I&#39;m at a loss as to what changed.</div>

<div>Any ideas? To further add some confusion, since my clients are configured for mandatory SRTP, all calls to them fail, and FS routes to VM. So far, pretty normal. Except that the VM message we usually hear sounds super slow like the voice is drunk. This is definetely not normal, but I&#39;m not sure if it&#39;s related to the crypto issue. I don&#39;t think it&#39;s a flite issue since calling into the IVR sounds as normal as ever.</div>

<div><br></div><div>Also, I notice a change in FS handling DTMF. My CSipSimple client which worked flawlessly with DTMF before now just doesn&#39;t work at all, but my Groundwire client continues to send DTMF without a problem.</div>

<div>Has something changed in the latest master regarding DTMF?</div><div><br></div><div>I&#39;d appreciate any help in debugging these issues. Perhaps the new conf in latest master has different variables or options and by simply copying my old conf directory over the new one wasn&#39;t too smart after all.</div>

<div><br></div><div>Thanks</div></div>
</blockquote><br><br>-- <br>Sent from mobile device<br>