<div dir="ltr">Hello, maybe transfer makes something bad with your call. Try this before GATEWAY in dialplan:<div><div>&lt;action application=&quot;set&quot; data=&quot;proxy_media=false&quot;/&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;bypass_media=false&quot;/&gt;</div><div>&lt;action application=&quot;export&quot; data=&quot;zrtp_secure_media=false&quot;/&gt;</div><div>&lt;action application=&quot;export&quot; data=&quot;nolocal:rtp_secure_media=true&quot;/&gt;<br></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 25, 2015 at 5:09 AM, Gonzalo Gasca Meza <span dir="ltr">&lt;<a href="mailto:gascagonzalo@gmail.com" target="_blank">gascagonzalo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have the following scenario:<div><br></div><div>SIP Phone (RTP/SIP UDP) ---&gt; Freeswitch ---&gt; SRTP/TLS --&gt; ITSP</div><div><br></div><div>Currently when I place a call Freeswitch is not sending SRTP SDES in SDP.</div><div>It does the TLS connection but SDP contains only AVP codecs.</div><div>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>Logs:</div><div><br></div><div><a href="http://pastebin.com/DgZ1Lejp" target="_blank">http://pastebin.com/DgZ1Lejp</a><br></div><div><br></div><div>sofia_status</div><div>external::itsp-tls<span>        </span>gateway<span>        </span>  sip:gonzalo@tls.itsp.com:5061:5061<span>        </span>NOREG</div><div><div><br></div><div>dialplan/public.xml </div><div>    &lt;extension name=&quot;public_itsp_tls&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(80\d{11})$&quot;&gt;</div><div>          &lt;action application=&quot;set&quot; data=&quot;rtp_secure_media=true&quot;/&gt;</div><div>          &lt;action application=&quot;export&quot; data=&quot;rtp_secure_media=true&quot;/&gt;</div><div>          &lt;action application=&quot;log&quot; data=&quot;INFO Processing call to itsp&quot;/&gt;</div><div>          &lt;action application=&quot;transfer&quot; data=&quot;$1 XML default&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div><br></div><div>







<p><span>dialplan/default.xml</span></p></div><div><div>&lt;extension name=&quot;US_ITSP_Secure&quot;&gt;</div><div>        &lt;action application=&quot;log&quot; data=&quot;INFO Processing REGEX&quot;/&gt;</div><div>        &lt;condition field=&quot;destination_number&quot; expression=&quot;^80(\d{11})$&quot;&gt;</div><div>                &lt;action application=&quot;set&quot; data=&quot;dialed_number=+$1&quot;/&gt;</div><div>                &lt;action application=&quot;log&quot; data=&quot;INFO Processing US call to ITSP Secure ${dialed_number}&quot;/&gt;</div><div>                &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/itsp-tls/${dialed_number}&quot;/&gt;</div><div>         &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div><br></div><div>







<p><span>sip_profiles/external/sipsitspTrunk.xml </span></p></div><div><div>&lt;include&gt;</div><div>&lt;gateway name=&quot;itsp-tls&quot;&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;tls-version&quot; value=&quot;tlsv1&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;register-transport&quot; value=&quot;tls&quot;/&gt;</div><div> <span style="white-space:pre-wrap">        </span>&lt;param name=&quot;contact-params&quot; value=&quot;transport=tls&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;realm&quot; value=&quot;itsp-tls&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;proxy&quot; value=&quot;<a href="http://tls.itsp.com:5061" target="_blank">tls.itsp.com:5061</a>&quot;/&gt; &lt;!-- (your configured Trunk SIP URI) --&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;</div><div>&lt;/gateway&gt;</div><div>&lt;/include&gt;</div></div><div><br></div><div><br></div><div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div style="font-size:small">Best regards,</div><div style="font-size:small">Volodymyr</div></div></div></div>
</div>