<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thats the old one. &nbsp;The one to look at that adds these is:<div class=""><br class=""></div><div class=""><a href="https://tools.ietf.org/html/rfc5764#section-8" class="">https://tools.ietf.org/html/rfc5764#section-8</a></div><div class=""><br class=""></div><div class="">its in master now supporting SAVP as well.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 17, 2016, at 1:44 PM, Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com" class="">s.safarov@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Look at&nbsp;<a href="https://tools.ietf.org/html/rfc4566#section-5.14" class="">rfc4566, section-5.14</a>&nbsp;<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">ср, 17 авг. 2016 г. в 17:37, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" class="">olegstolyar@gmail.com</a>&gt;:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Is there some RFC or some other authoritative source that would say whether "<span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:12.8px" class="">UDP/TLS/RTP/SAVP" or&nbsp;</span><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:12.8px" class="">"RTP/SAVP" is the correct value for DLTS-SRTP for NON-WebRTC connections? &nbsp;</span><div class=""><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;font-size:12.8px" class="">If the former, then I'll file a Jira in FS.&nbsp; If the latter, I'll work with the SDK developers to fix.</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Aug 17, 2016 at 7:18 AM, Sergey Safarov <span dir="ltr" class="">&lt;<a href="mailto:s.safarov@gmail.com" target="_blank" class="">s.safarov@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Correct way to fix on client side but if it is not possible then SDP rewrite can be made on server side.<div class="">For SRD rewrite on server side i recoment use kamailio proxy server.</div><div class=""><br class=""></div><div class="">About DTLS. I has found that use DTLS requres modern crypro lib. Try FreeSwitch on fedora server distr or other with modern crypto lib.</div><div class=""><br class=""></div><div class="">Sergey.<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">ср, 17 авг. 2016 г. в 13:23, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" target="_blank" class="">olegstolyar@gmail.com</a>&gt;:<br class=""></div><div class=""><div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="">I think you are right Sergey.&nbsp; Should it be fixed on the FS side or on the client SDK side though?&nbsp; Which is the right value?</p><p dir="ltr" class="">By the way, the SDK can do either dtls or sdes.&nbsp; This issue happens with dtls.&nbsp; Sdes works fine and I can establish a call.</p>
<div class="gmail_extra"><br class=""><div class="gmail_quote">On Aug 16, 2016 10:14 PM, "Sergey Safarov" &lt;<a href="mailto:s.safarov@gmail.com" target="_blank" class="">s.safarov@gmail.com</a>&gt; wrote:<br type="attribution" class=""><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class=""><div dir="ltr" class="">Think issue related to "<span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif" class="">m=audio 61434 UDP/TLS/RTP/SAVP"</span><div class=""><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif" class="">Try "</span><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;line-height:1.5" class="">m=audio 61434 RTP/SAVP</span><span style="color:rgb(33,33,33);font-family:&quot;helvetica neue&quot;,helvetica,arial,sans-serif;line-height:1.5" class="">"</span></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">ср, 17 авг. 2016 г. в 5:35, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" target="_blank" class="">olegstolyar@gmail.com</a>&gt;:<br class=""></div><div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Thanks Gonzalo,</div><div class=""><br class=""></div>That setup on the FS side refers to TLS and as I said TLS is working for me, I have it set up. &nbsp;<div class=""><br class=""></div><div class="">SRTP should work out of the box AFAIK.&nbsp; I suspect there is something in the SDP I posted that FS considers to be non-compliant with the specs.&nbsp; Not sure what though and whether it's a bug in FS or in the client SDK I am using.</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Aug 16, 2016 at 7:22 PM, Gonzalo Gasca Meza <span dir="ltr" class="">&lt;<a href="mailto:gascagonzalo@gmail.com" target="_blank" class="">gascagonzalo@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="">Did you enable/configure SRTP? <a href="http://twilio-marketing-prod.elasticbeanstalk.com/resources/images/docs/TwilioSecure-Freeswitch.pdf" target="_blank" class="">This</a> is a sample guide I use for Twilio TLS/SRTP which can help</div>Can you post all logs?<div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="">On Tue, Aug 16, 2016 at 6:10 PM, Oleg Stolyar <span dir="ltr" class="">&lt;<a href="mailto:olegstolyar@gmail.com" target="_blank" class="">olegstolyar@gmail.com</a>&gt;</span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div dir="ltr" class="">Hi guys,<div class=""><br class=""></div><div class="">I am trying to connect to FS using the CounterPath SDK for Android.&nbsp; I use TLS for signalling.&nbsp; All works well until I try to enable SRTP.&nbsp; Then FS rejects the call the INCOMPATIBLE_DESTINATION message.&nbsp; Is there something wrong with the SDP?&nbsp; Here are the relevant SDPs from the INVITES.</div><div class=""><br class=""></div><div class=""><div class="">NON-SRTP (works)<br class=""></div><div class="">&nbsp; &nbsp;v=0</div><div class="">&nbsp; &nbsp;o=- 622419737965 1 IN IP4 192.168.1.78</div><div class="">&nbsp; &nbsp;s=</div><div class="">&nbsp; &nbsp;c=IN IP4 192.168.1.78</div><div class="">&nbsp; &nbsp;t=0 0</div><div class="">&nbsp; &nbsp;m=audio 57194 RTP/AVP 3 120 123 122 121 9 8 0 84 85 18 101</div><div class="">&nbsp; &nbsp;a=rtpmap:120 opus/48000/2</div><div class="">&nbsp; &nbsp;a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000</div><div class="">&nbsp; &nbsp;a=rtpmap:123 SILK/24000</div><div class="">&nbsp; &nbsp;a=rtpmap:122 SILK/16000</div><div class="">&nbsp; &nbsp;a=rtpmap:121 SILK/8000</div><div class="">&nbsp; &nbsp;a=rtpmap:84 speex/16000</div><div class="">&nbsp; &nbsp;a=rtpmap:85 speex/8000</div><div class="">&nbsp; &nbsp;a=rtpmap:18 G729/8000</div><div class="">&nbsp; &nbsp;a=fmtp:18 annexb=yes</div><div class="">&nbsp; &nbsp;a=rtpmap:101 telephone-event/8000</div><div class="">&nbsp; &nbsp;a=fmtp:101 0-15</div><div class="">&nbsp; &nbsp;a=sendrecv</div></div><div class=""><br class=""></div><div class=""><div class="">SRTP (does not work)</div><div class="">&nbsp; &nbsp;v=0</div><div class="">&nbsp; &nbsp;o=- 622187157154 1 IN IP4 192.168.1.78</div><div class="">&nbsp; &nbsp;s=</div><div class="">&nbsp; &nbsp;c=IN IP4 192.168.1.78</div><div class="">&nbsp; &nbsp;t=0 0</div><div class="">&nbsp; &nbsp;a=fingerprint:SHA-256 4D:08:D6:49:9E:CA:77:A2:77:74:02:A0:B9:92:32:2F:2D:76:7D:59:7F:A4:CA:85:16:BA:D0:27:0A:74:1C:0F</div><div class="">&nbsp; &nbsp;a=setup:actpass</div><div class="">&nbsp; &nbsp;m=audio 61434 UDP/TLS/RTP/SAVP 3 120 123 122 121 9 8 0 84 85 18 101</div><div class="">&nbsp; &nbsp;a=rtpmap:120 opus/48000/2</div><div class="">&nbsp; &nbsp;a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000</div><div class="">&nbsp; &nbsp;a=rtpmap:123 SILK/24000</div><div class="">&nbsp; &nbsp;a=rtpmap:122 SILK/16000</div><div class="">&nbsp; &nbsp;a=rtpmap:121 SILK/8000</div><div class="">&nbsp; &nbsp;a=rtpmap:84 speex/16000</div><div class="">&nbsp; &nbsp;a=rtpmap:85 speex/8000</div><div class="">&nbsp; &nbsp;a=rtpmap:18 G729/8000</div><div class="">&nbsp; &nbsp;a=fmtp:18 annexb=yes</div><div class="">&nbsp; &nbsp;a=rtpmap:101 telephone-event/8000</div><div class="">&nbsp; &nbsp;a=fmtp:101 0-15</div><div class="">&nbsp; &nbsp;a=sendrecv</div></div><div class=""><br class=""></div></div>
</div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>