<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] optional SRTP</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>FreeSWITCH Support SIP/TLS, SRTP and ZRTP, the error message you are refering to below is where someone has improperly implemented SRTP and is sending the crypto headers in the wrong spots. See the Wiki for setting up secure calling.<BR>
<BR>
Also please note, if you are going to use SRTP, you _must_ use SIP/TLS as the keys for SRTP are passed in the SDP of the SIP messaging. You can use ZRTP without using SIP/TLS as the key exchange for ZRTP happens as a DH exchange in the ZRTP stream, but if you want to protect the contents of the SIP messaging you&#8217;ll still want to use SIP/TLS.<BR>
<BR>
<BR>
K<BR>
<BR>
<BR>
On 2/22/13 9:36 AM, &quot;Levend Sayar&quot; &lt;<a href="levend.sayar@karel.com.tr">levend.sayar@karel.com.tr</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hi again.<BR>
<BR>
On my previous discussion on this &nbsp;list, i learned that RTP/AVP with a a=crypto attribute means optional SRTP.<BR>
<BR>
I suppose FS supports optional SRTP, but when i look at the sofia code, afaiu fs does not support it.<BR>
<BR>
Right ?<BR>
<BR>
A code snippet from sofia_glue.c <BR>
<BR>
if (m-&gt;m_proto != sdp_proto_srtp) {<BR>
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, &quot;a=crypto in RTP/AVP, refer to rfc3711\n&quot;);<BR>
match = 0;<BR>
goto done;<BR>
}<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>