<div dir="ltr">I have the following scenario:<div><br></div><div>SIP Phone (RTP/SIP UDP) ---> Freeswitch ---> SRTP/TLS --> 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> <extension name="public_itsp_tls"></div><div> <condition field="destination_number" expression="^(80\d{11})$"></div><div> <action application="set" data="rtp_secure_media=true"/></div><div> <action application="export" data="rtp_secure_media=true"/></div><div> <action application="log" data="INFO Processing call to itsp"/></div><div> <action application="transfer" data="$1 XML default"/></div><div> </condition></div><div> </extension></div></div><div><br></div><div>
<p class=""><span class="">dialplan/default.xml</span></p></div><div><div><extension name="US_ITSP_Secure"></div><div> <action application="log" data="INFO Processing REGEX"/></div><div> <condition field="destination_number" expression="^80(\d{11})$"></div><div> <action application="set" data="dialed_number=+$1"/></div><div> <action application="log" data="INFO Processing US call to ITSP Secure ${dialed_number}"/></div><div> <action application="bridge" data="sofia/gateway/itsp-tls/${dialed_number}"/></div><div> </condition></div><div> </extension></div></div><div><br></div><div>
<p class=""><span class="">sip_profiles/external/sipsitspTrunk.xml </span></p></div><div><div><include></div><div><gateway name="itsp-tls"></div><div><span class="" style="white-space:pre">        </span><param name="tls-version" value="tlsv1"/></div><div><span class="" style="white-space:pre">        </span><param name="register-transport" value="tls"/></div><div> <span class="" style="white-space:pre">        </span><param name="contact-params" value="transport=tls"/></div><div><span class="" style="white-space:pre">        </span><param name="realm" value="itsp-tls"/></div><div><span class="" style="white-space:pre">        </span><param name="proxy" value="<a href="http://tls.itsp.com:5061">tls.itsp.com:5061</a>"/> <!-- (your configured Trunk SIP URI) --></div><div><span class="" style="white-space:pre">        </span><param name="register" value="false"/></div><div></gateway></div><div></include></div></div><div><br></div><div><br></div><div><br></div></div>