<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>That is very odd, the default behaviour in browsers *is* to use
DTLS for SRTP keying instead of the legacy SDES. In fact SDES's
status is "MUST NOT implement" since 2013, and the
DtlsSrtpKeyAgreement constraint is scheduled for retirement:</p>
<p><a class="moz-txt-link-freetext" href="https://bugs.chromium.org/p/chromium/issues/detail?id=804275">https://bugs.chromium.org/p/chromium/issues/detail?id=804275</a></p>
<p>Concerning SIP.js I have never experienced the need to set this
constraint, it works fine against freeswitch without it.<br>
</p>
<p>Jeremy<br>
</p>
<div class="moz-cite-prefix">On 11/13/18 8:55 AM, MARAND, Remi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB7PR02MB373736E4A42C46DC5675CB2CCBC20@DB7PR02MB3737.eurprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I finally was able to solve my problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For information, on this trouble, the
parameter :<o:p></o:p></p>
<p class="MsoNormal"><i><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR">RTCConstraints:
{"optional": [{'DtlsSrtpKeyAgreement': 'true'}]}</span></i><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal">Is to add at the good place in
jquery.FSRTC.js (or verto-min.js (I think that's already the
case in this script)) i did not find how to code in the sip.js
version but it should be possible.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks to those who answered my question,
and sorry for the 3 Mb of pcap file i sent to the
user-list !!!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Perhaps this DtlsSrtpKeyAgreement parameter
role should be added and explain in the Verto/WebRTC examples
availables on Websites, i suppose that in 2014, it was not
mandatory but now with the lasts versions of Chrome and FF it
seems to be.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Remi Marand.<o:p></o:p></p>
<p class="MsoNormal"><a href="mailto:rmarand@prosodie.com"
moz-do-not-send="true">rmarand@prosodie.com</a><o:p></o:p></p>
<p class="MsoNormal">+33687725325.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:FR">De :</span></b><span
style="mso-fareast-language:FR"> MARAND, Remi
<br>
<b>Envoyé :</b> lundi 5 novembre 2018 18:01<br>
<b>À :</b> <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<b>Objet :</b> One way audio case between FS and Chrome
on WebRTC<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to validate
FS as a SIP to WebRTC Gateway in our lab environment.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I started in middle
October and have good result on it, but i cannot understand
this One Way Audio trouble.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I must thank the
Freeswitch team and contributors for this very impressive
work.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">FreeSWITCH Version
1.8.1-2-4f54cff36a~64bit (-2-4f54cff36a 64bit)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">On system: SMP Debian
4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Openssl version :
OpenSSL 1.1.0f 25 May 2017<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Chrome version: 69.0 (I
tried with different version and with Firefox with the same
trouble).</span><span
style="font-size:10.0pt;font-family:"Segoe
UI",sans-serif;color:#5F6368" lang="EN-US">
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The wss part is ok with
sip.js and verto.js<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The Ice negotiation is
ok, I use sometimes local networks and sometimes web, I have
had to authorize networks in the candidate ACL and domain
ACL (acl.conf.xml) The result is the same on both topology.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">DTLS negotiation is OK,
and there is UDP streams between Chrome (or Firefox) and FS
in both ways.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">There is no “audible”
audio in the direction from FS to Chrome, the other
direction is OK.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The simplest test is to
call the 5000 number from the Chrome client, I send you a
paste bin and pcap trace for this call.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Should you give me
information element to progress on this, what is really
mandatory in the sip_profile/internal.xml and external.xml
files, and in directory/default/1000.xml for a WebRTC call
?? What should be the good options in fs_cli to see if the
encryption of RTP packets is ok or not.. ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Do you think that I have
to reinstall a Freeswitch from the current branch ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">@IP for FS :
192.168.145.67<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">@IP for Chrome :
10.70.54.43<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Link on the pastebin : </span><a
href="https://pastebin.freeswitch.org/view/09a72087"
moz-do-not-send="true"><span
style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#005580;background:white"
lang="EN-US">https://pastebin.freeswitch.org/view/09a72087</span></a><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a pcap on the
same call that I can provide (3 Mb) if necessary..<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for helping me
!!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D;mso-fareast-language:FR" lang="EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="border-collapse:collapse"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:93.3pt;padding:0cm 5.4pt 0cm 5.4pt"
width="124" valign="top">
<p class="MsoNormal" style="margin-bottom:12.0pt"><a
href="http://www.prosodie.com/"
moz-do-not-send="true"><span
style="font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:FR;text-decoration:none"><img
style="width:1.15in;height:.5in"
id="Image_x0020_1"
src="cid:part3.3D59B1B7.948A8A77@m4x.org"
alt="Prosodie-signature" class="" width="110"
height="48" border="0"></span></a><span
style="font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:FR"><o:p></o:p></span></p>
</td>
<td style="width:387.8pt;padding:0cm 5.4pt 0cm 5.4pt"
width="517" valign="top">
<p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#00468C;mso-fareast-language:FR"
lang="EN-US">Rémi Marand – Product Owner – Pod
Connect.<br>
</span></b><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#00468C;mso-fareast-language:FR">PROSODIE
– Marketing & Produit<br>
Tél. : +33 (0)1.46.84.12.77 / 06.87.72.53.25<br>
</span><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:FR"><a
href="mailto:rmarand@prosodie.com"
moz-do-not-send="true">rmarand@prosodie.com</a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<span style="font-size: 9px; line-height: 10px;">This message
contains information that may be privileged or confidential and
is the property of the Capgemini Group. It is intended only for
the person to whom it is addressed. If you are not the intended
recipient, you are not authorized to read, print, retain, copy,
disseminate, distribute, or use this message or any part
thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.</span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_________________________________________________________________________
Professional FreeSWITCH Services
<a class="moz-txt-link-abbreviated" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a></pre>
</blockquote>
</body>
</html>