<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="metricconverter"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:595.3pt 841.9pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Обычная таблица";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Hi all !<br>
<br>
I am using sipML live demo page
(<a class="moz-txt-link-freetext" href="http://sipml5.org/call.htm?svn=224#">http://sipml5.org/call.htm?svn=224#</a>) in order to test WebRTC
setup on my Asterisk PBX. I am using latest SVN version of
Asterisk 11 (Asterisk PBX SVN-branch-11-r417677)<br>
<br>
If I make calls from softphones (Zoiper, X-Lite), which do not
support DTLS at all, I can hear the Echo Test sound. <br>
<br>
BUT when I call from browser (I've tried latest Mozilla
Firefox and Chrome on both Windows 8.1 x86 and Android 4.3), I
can successfully establish a call but I can hear NO SOUND.<br>
<br>
As it turns out (according to wireshark logs), Asterick is
sending me DTLS handshake, on which nobody replies on my
machine. And probably because of this, all the RTP traffic
which goes afterwards, is not understood by my browser
(because it’s encrypted I guess)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Am I missing something critical in order for this
setup to function properly ? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">I here by attach Asterisk console log dumps for a
typical call
(sipml5_ff_desktop_from_public_ip_hw_failure.log),<span
style="mso-spacerun:yes"> </span>and also a Firefox sipML5
console log (sipML_console.log). <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Setup for sipML Live demo: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Display Name: “sipML Firefox desktop”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Private Identity<sup>*</sup>: 21111<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Public Identity<sup>*</sup>:<a
class="moz-txt-link-freetext"
href="sip:21111@asterisk.server.dnsname:5062">sip:21111@asterisk.server.dnsname:5062</a><o:p></o:p></span></p>
<p class="MsoNormal">Realm<sup>*</sup>:<span
style="mso-ansi-language:EN-US"> <span lang="EN-US">asterisk.server.dnsname<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Expert mode settings:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">WebSocket Server URL: <a
class="moz-txt-link-freetext"
href="ws://devsrv1.clickphone.net:8088/ws">ws://devsrv1.clickphone.net:8088/ws</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">ICE Servers: [{ url:
'stun:stun.l.google.com:19302'}]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">This is a dump of DTLS packet that my machine
receives but does not answer: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">52833<span style="mso-tab-count:1"> </span>4.683910000<span
style="mso-tab-count:1"> </span>asterisk-ip<span
style="mso-tab-count:1"> </span>my-public-ip<span
style="mso-tab-count: 1"> </span>DTLSv1.0<span
style="mso-tab-count:1"> </span>216<span
style="mso-tab-count:1"> </span>Client Hello<span
style="mso-tab-count: 1"> </span>15448<span
style="mso-tab-count:1"> </span>52833<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0000<span style="mso-spacerun:yes"> </span>00
17 31 4c 2a <st1:metricconverter productid="3f" w:st="on">3f</st1:metricconverter>
00 21 91 c7 d8 89 08 00 45 00<span style="mso-spacerun:yes">
</span>..1L*?.!......E.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0010<span style="mso-spacerun:yes"> </span>00
ca ed 57 40 00 35 11 be 64 90 4c c6 db 6d cb<span
style="mso-spacerun:yes"> </span>...W@.5..d.L..m.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0020<span style="mso-spacerun:yes"> </span>d4
73 3c 58 ce 61 00 b6 f2 6a 16 fe ff 00 00 00<span
style="mso-spacerun:yes"> </span>.s<X.a...j......<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0030<span style="mso-spacerun:yes"> </span>00
00 00 00 00 00 a1 01 00 00 95 00 00 00 00 00<span
style="mso-spacerun:yes"> </span>................<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0040<span style="mso-spacerun:yes"> </span>00
00 95 fe ff 53 ba 93 1b bc 58 87 53 38 9e c9<span
style="mso-spacerun:yes"> </span>.....S....X.S8..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0050<span style="mso-spacerun:yes"> </span>15
ba bc 0a 5b 4d a5 0b 98 e9 e9 bd 8a 1d f8 c3<span
style="mso-spacerun:yes"> </span>....[M..........<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0060<span style="mso-spacerun:yes"> </span>96
98 f3 b9 50 00 00 00 58 c0 14 c0 0a c0 22 c0<span
style="mso-spacerun:yes"> </span>....P...X.....".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0070<span style="mso-spacerun:yes"> </span>21
00 39 00 38 00 88 00 87 c0 <st1:metricconverter
productid="0f" w:st="on">0f</st1:metricconverter> c0 05 00
35 00<span style="mso-spacerun:yes"> </span>!.9.8.........5.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0080<span style="mso-spacerun:yes"> </span>84
c0 12 c0 08 c0 1c c0 1b 00 16 00 13 c0 0d c0<span
style="mso-spacerun:yes"> </span>................<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">0090<span style="mso-spacerun:yes"> </span>03
00 0a c0 13 c0 09 c0 <st1:metricconverter productid="1f"
w:st="on">1f</st1:metricconverter> c0 1e 00 33 00 32 00<span
style="mso-spacerun:yes"> </span>............3.2.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">00a0<span style="mso-spacerun:yes"> </span>9a
00 99 00 45 00 44 c0 0e c0 04 00 <st1:metricconverter
productid="2f" w:st="on">2f</st1:metricconverter> 00 96 00<span
style="mso-spacerun:yes"> </span>....E.D...../...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">00b0<span style="mso-spacerun:yes"> </span>41
00 15 00 12 00 09 00 14 00 11 00 08 00 06 00<span
style="mso-spacerun:yes"> </span>A...............<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">00c0<span style="mso-spacerun:yes"> </span>ff
02 01 00 00 12 00 23 00 00 00 <st1:metricconverter
productid="0f" w:st="on">0f</st1:metricconverter> 00 01 01
00<span style="mso-spacerun:yes"> </span>.......#........<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">00d0<span style="mso-spacerun:yes"> </span>0e
00 05 00 02 00 01 00<span style="mso-spacerun:yes">
</span>........<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Setup of Asterisk PBX is described in the
attachment asterisk_config.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Any help is HIGHLY appreciated !!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">I wonder if anyone has ever really made calls
from DTLS-SRTP WebRTC-client to Asterisk..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-ansi-language:EN-US"
lang="EN-US">Thanks<o:p></o:p></span></p>
</o:smarttagtype>
</body>
</html>