<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    You have to load the module res_srtp (secure media) in Asterisk.<br>
    <br>
    > module load res_srtp.so  <br>
    <br>
    (this is a requirement to talk websocket)<br>
    <br>
    If you don't have it, must build it and install it.<br>
    <br>
    Cheers,<br>
    <pre class="moz-signature" cols="72">-- 
==================================
Miguel Oyarzo
DevOps Engineer
<a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/mikeaustralia">http://www.linkedin.com/in/mikeaustralia</a>
Linux User: # 483188 - counter.li.org 
Melbourne, Australia

</pre>
    <br>
    <br>
    <div class="moz-cite-prefix">On 6/18/2013 3:02 AM, Joel Rosenfield
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADzXeQHh25+oNr9rRHwETcE+QmGN=VVRB0FtZR71V5Yx0sr6og@mail.gmail.com"
      type="cite">
      <div dir="ltr">I am using Asterisk 11.3.0 and just updated Nightly
        to 24.0a1 (2013-06017) and get a SIP 488 Not Acceptable Here
        response.
        <div style="">I have no problems using the same Asterisk
          configuration and the same page to make a call from Chrome.</div>
        <div style=""><br>
        </div>
        <div style="">I have seen other people post a similar issue, but
          I have not seen a solution.  If someone with good knowledge of
          this issue were to respond with "this is a known issue" or
          "no, and this should be reported to Mozilla", that would be
          very helpful for me as well.</div>
        <div style=""><br>
        </div>
        <div style="">Here is the error I see in the Asterisk console
          after it successfully parses the SDP a lines:</div>
        <div style="">
          <div>Rejecting secure audio stream without encryption details:
            audio 62583 UDP/TLS/RTP/SAVPF 109 0 8 101</div>
          <div>Trying to put 'SIP/2.0 488' onto WS socket destined for
            <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz:5060">www.xxx.yyy.zzz:5060</a></div>
          <div>No compatible codecs for this SIP call.</div>
          <div><br>
          </div>
          <div style="">Here is the sip.conf info.  I have tried various
            permutations of the dtls and encryption parameters with no
            luck.  I do have openssl and srtp built into Asterisk (that
            solved a different error dealing with the RTP engine).</div>
          <div style=""><br>
          </div>
          <div style="">
            <div>[webrtc-dtls]                   ; Add DTLS stuff for
              Mozilla Nightly (and eventually Firefox)</div>
            <div>type=user</div>
            <div>host=dynamic</div>
            <div>hassip=yes</div>
            <div>transport=ws,wss</div>
            <div>directmedia=no                  ; proxy the media</div>
            <div>icesupport=yes                  ; needed for webrtc</div>
            <div>avpf=yes                        ; needed for webrtc</div>
            <div>context=default</div>
            <div><br>
            </div>
            <div>encryption=yes</div>
            <div>dtlsenable=yes</div>
            <div>dtlsverify=no</div>
            <div>dtlsrekey=60</div>
            <div>dtlscafile=/opt/asterisk/keys/ca.crt</div>
            <div>dtlscertfile=/opt/asterisk/keys/asterisk.pem</div>
            <div>dtlssetup=actpass</div>
            <div>insecure=invite</div>
            <div><br>
            </div>
            <div style="">Here is the SDP offered by Nightly:</div>
            <div style="">
              <div>v=0</div>
              <div>o=Mozilla-SIPUA-24.0a1 25687 1 IN IP4 0.0.0.0</div>
              <div>s=Doubango Telecom - firefox</div>
              <div>t=0 0</div>
              <div>a=ice-ufrag:7194cbcc</div>
              <div>a=ice-pwd:e57c14491015e529b84c5a6baf6d7b67</div>
              <div>a=fingerprint:sha-256
48:3E:0C:59:BA:EB:6C:F9:5D:65:BF:08:54:63:C3:EA:AF:A9:60:9D:39:47:A5:41:6B:E1:A8:EB:7C:06:BE:D4</div>
              <div>m=audio 62583 UDP/TLS/RTP/SAVPF 109 0 8 101</div>
              <div>c=IN IP4 <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz">www.xxx.yyy.zzz</a></div>
              <div>a=rtpmap:109 opus/48000/2</div>
              <div>a=ptime:20</div>
              <div>a=rtpmap:0 PCMU/8000</div>
              <div>a=rtpmap:8 PCMA/8000</div>
              <div>a=rtpmap:101 telephone-event/8000</div>
              <div>a=fmtp:101 0-15</div>
              <div>a=sendrecv</div>
              <div>a=candidate:0 1 UDP 2111832319 192.168.1.109 62583
                typ host</div>
              <div>a=candidate:1 1 UDP 1692467199 <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz">www.xxx.yyy.zzz</a> 62583
                typ srflx raddr 192.168.1.109 rport 62583</div>
              <div>a=candidate:5 1 UDP 2111766783 192.168.56.1 62584 typ
                host</div>
              <div>a=candidate:0 2 UDP 2111832318 192.168.1.109 62585
                typ host</div>
              <div>a=candidate:1 2 UDP 1692467198 <a class="moz-txt-link-abbreviated" href="http://www.xxx.yyy.zzz">www.xxx.yyy.zzz</a> 62585
                typ srflx raddr 192.168.1.109 rport 62585</div>
              <div>a=candidate:5 2 UDP 2111766782 192.168.56.1 62586 typ
                host</div>
              <div><br>
              </div>
              <div style="">Thanks,</div>
              <div style="">- Joel</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>