<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">http://pastebin.com/DgZ1Lejp</a><br></div><div><br></div><div>sofia_status</div><div>external::itsp-tls<span class="">        </span>gateway<span class="">        </span>  sip:gonzalo@tls.itsp.com:5061:5061<span class="">        </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 class=""><span class="">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 class=""><span class="">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 class="" style="white-space:pre">        </span>&lt;param name=&quot;tls-version&quot; value=&quot;tlsv1&quot;/&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;param name=&quot;register-transport&quot; value=&quot;tls&quot;/&gt;</div><div> <span class="" style="white-space:pre">        </span>&lt;param name=&quot;contact-params&quot; value=&quot;transport=tls&quot;/&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;param name=&quot;realm&quot; value=&quot;itsp-tls&quot;/&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;param name=&quot;proxy&quot; value=&quot;<a href="http://tls.itsp.com:5061">tls.itsp.com:5061</a>&quot;/&gt; &lt;!-- (your configured Trunk SIP URI) --&gt;</div><div><span class="" style="white-space:pre">        </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>