<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Looks like maybe&nbsp;<a href="https://freeswitch.org/jira/browse/FS-8037" class="">https://freeswitch.org/jira/browse/FS-8037</a><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Aug 25, 2015, at 2:18 AM, Volodymyr Fedorov &lt;<a href="mailto:lexxua@gmail.com" class="">lexxua@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello, maybe transfer makes something bad with your call. Try this before GATEWAY in dialplan:<div class=""><div class="">&lt;action application="set" data="proxy_media=false"/&gt;</div><div class="">&lt;action application="set" data="bypass_media=false"/&gt;</div><div class="">&lt;action application="export" data="zrtp_secure_media=false"/&gt;</div><div class="">&lt;action application="export" data="nolocal:rtp_secure_media=true"/&gt;<br class=""></div></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Aug 25, 2015 at 5:09 AM, Gonzalo Gasca Meza <span dir="ltr" class="">&lt;<a href="mailto:gascagonzalo@gmail.com" target="_blank" class="">gascagonzalo@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">I have the following scenario:<div class=""><br class=""></div><div class="">SIP Phone (RTP/SIP UDP) ---&gt; Freeswitch ---&gt; SRTP/TLS --&gt; ITSP</div><div class=""><br class=""></div><div class="">Currently when I place a call Freeswitch is not sending SRTP SDES in SDP.</div><div class="">It does the TLS connection but SDP contains only AVP codecs.</div><div class="">I have used the rtp_secure_media set to true and also export but crypto caps are not attached. I can see them listed, but nothing happens.</div><div class="">Logs:</div><div class=""><br class=""></div><div class=""><a href="http://pastebin.com/DgZ1Lejp" target="_blank" class="">http://pastebin.com/DgZ1Lejp</a><br class=""></div><div class=""><br class=""></div><div class="">sofia_status</div><div class="">external::itsp-tls<span class="">        </span>gateway<span class="">        </span>&nbsp; <a href="sip:gonzalo@tls.itsp.com:5061:5061" class="">sip:gonzalo@tls.itsp.com:5061:5061</a><span class="">        </span>NOREG</div><div class=""><div class=""><br class=""></div><div class="">dialplan/public.xml&nbsp;</div><div class="">&nbsp; &nbsp; &lt;extension name="public_itsp_tls"&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;condition field="destination_number" expression="^(80\d{11})$"&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set" data="rtp_secure_media=true"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="export" data="rtp_secure_media=true"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO Processing call to itsp"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="transfer" data="$1 XML default"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &lt;/condition&gt;</div><div class="">&nbsp; &nbsp; &lt;/extension&gt;</div></div><div class=""><br class=""></div><div class=""><p class=""><span class="">dialplan/default.xml</span></p></div><div class=""><div class="">&lt;extension name="US_ITSP_Secure"&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO Processing REGEX"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &lt;condition field="destination_number" expression="^80(\d{11})$"&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set" data="dialed_number=+$1"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="log" data="INFO Processing US call to ITSP Secure ${dialed_number}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="bridge" data="sofia/gateway/itsp-tls/${dialed_number}"/&gt;</div><div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;</div><div class="">&nbsp; &nbsp; &lt;/extension&gt;</div></div><div class=""><br class=""></div><div class=""><p class=""><span class="">sip_profiles/external/sipsitspTrunk.xml&nbsp;</span></p></div><div class=""><div class="">&lt;include&gt;</div><div class="">&lt;gateway name="itsp-tls"&gt;</div><div class=""><span style="white-space:pre-wrap" class="">        </span>&lt;param name="tls-version" value="tlsv1"/&gt;</div><div class=""><span style="white-space:pre-wrap" class="">        </span>&lt;param name="register-transport" value="tls"/&gt;</div><div class="">&nbsp;<span style="white-space:pre-wrap" class="">        </span>&lt;param name="contact-params" value="transport=tls"/&gt;</div><div class=""><span style="white-space:pre-wrap" class="">        </span>&lt;param name="realm" value="itsp-tls"/&gt;</div><div class=""><span style="white-space:pre-wrap" class="">        </span>&lt;param name="proxy" value="<a href="http://tls.itsp.com:5061/" target="_blank" class="">tls.itsp.com:5061</a>"/&gt; &lt;!-- (your configured Trunk SIP URI) --&gt;</div><div class=""><span style="white-space:pre-wrap" class="">        </span>&lt;param name="register" value="false"/&gt;</div><div class="">&lt;/gateway&gt;</div><div class="">&lt;/include&gt;</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div>
<br class="">_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div style="font-size:small" class="">Best regards,</div><div style="font-size:small" class="">Volodymyr</div></div></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>