<div dir="ltr"><div><div><span style="font-family:trebuchet ms,sans-serif">Hi All,<br>I have setup FreeSwith PBX. I am facing an issue
 of not having end to end secure call. Caller sends INVITE request with 
SIPS in request URI and RTP/SAVP in SDP. But when FreeSwith forwards the
 request to caller, it is not using RTP/SAVP in SDP.<br><br>I have followed the steps mentioned in WIKI (<a href="https://wiki.freeswitch.org/wiki/SIP_TLS#Configuration" target="_blank">https://wiki.freeswitch.org/wiki/SIP_TLS#Configuration</a>) for TLS configuration and marked &quot;exports sip_secure_media&quot; true in &quot;conf/dialplan/default.xml&quot; file (as per <a href="https://wiki.freeswitch.org/wiki/SRTP">https://wiki.freeswitch.org/wiki/SRTP</a>). But still FreeSwitch does not use RTP/SAVP for leg-B.<br><br></span></div><div><span style="font-family:trebuchet ms,sans-serif">Also, I am bit confused with following condition in &quot;default.xml&quot; when wiki page suggests that </span><br><span style="font-family:trebuchet ms,sans-serif">late coded negotiation must NOT to be turned on.<br><br>    &lt;!--<br>         Since we have inbound-late-negotation on by default now the<br>         above behavior isn&#39;t the same so you have to do one extra step.<br>        --&gt;<br><br>      &lt;condition field=&quot;${endpoint_disposition}&quot; expression=&quot;^(DELAYED NEGOTIATION)&quot;/&gt;<br>      &lt;condition field=&quot;${switch_r_sdp}&quot; expression=&quot;(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)&quot; break=&quot;never&quot;&gt;<br>        &lt;action application=&quot;set&quot; data=&quot;sip_secure_media=true&quot;/&gt;<br>        &lt;!-- Offer SRTP on outbound legs if we have it on inbound. --&gt;<br>        &lt;action application=&quot;export&quot; data=&quot;sip_secure_media=true&quot;/&gt;<br>      &lt;/condition&gt;<br><br></span></div><div><span style="font-family:trebuchet ms,sans-serif">By commenting/un-commenting &quot;</span><span style="font-family:trebuchet ms,sans-serif"><span style="font-family:trebuchet ms,sans-serif">sip_secure_media=true</span>&quot; above, it did not worked.<br></span></div><div><span style="font-family:trebuchet ms,sans-serif"><br></span></div><div><span style="font-family:trebuchet ms,sans-serif">Any help with this would be greatly appreciated.<br><br>--<br></span></div><span style="font-family:trebuchet ms,sans-serif">Thanks<br></span></div><span style="font-family:trebuchet ms,sans-serif">CWM<br></span></div>