<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] optional SRTP</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>See rfc3711 that describes how you are supposed to pass the crypto information.<BR>
<BR>
If you want to disable SRTP on all calls, that’s a channel variable for that you just set<BR>
<action application="set" data="sip_secure_media=false"/><BR>
<BR>
Now you can use the dialplan to look at the SDP, and determine if you want to set if you want to have SRTP enabled or not<BR>
<BR>
See <a href="http://wiki.freeswitch.org/wiki/SRTP">http://wiki.freeswitch.org/wiki/SRTP</a> for more information<BR>
<BR>
K<BR>
<BR>
<BR>
<BR>
On 2/22/13 10:30 AM, "Levend Sayar" <<a href="levend.sayar@karel.com.tr">levend.sayar@karel.com.tr</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Ken you are right. But what i want to do is not securing all the conversation. I dont need that.<BR>
What i want is FS to prefer RTP when an optional SRTP offer is received.<BR>
<BR>
<BR>
In this list, it is mentioned that<BR>
<BR>
m=audio RTP/AVP<BR>
a=crypto ...<BR>
<BR>
means optional SRTP. Namely caller prefers to talk with SRTP, but if calle prefers RTP, caller accept RTP too.<BR>
<BR>
First of all, the SDP I show is improper ?<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>