<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">are you sure you dont have this
      problem?<br>
      <a class="moz-txt-link-freetext" href="https://issues.asterisk.org/jira/browse/ASTERISK-24146">https://issues.asterisk.org/jira/browse/ASTERISK-24146</a><br>
      <br>
      i'm now fighting with<br>
      <a class="moz-txt-link-freetext" href="https://issues.asterisk.org/jira/browse/ASTERISK-24602">https://issues.asterisk.org/jira/browse/ASTERISK-24602</a><br>
      <br>
      Dne 27.8.2015 v 20:07 Vinicius Fontes napsal(a):<br>
    </div>
    <blockquote
cite="mid:CAP_GNRn-8+t9aaVPegstuJ+gU5TKnNd5oRrk9=QME59aKNDXVw@mail.gmail.com"
      type="cite">
      <div dir="ltr">I have it working now!
        <div><br>
        </div>
        <div><b>I had to install Asterisk 13 with PJSIP support.That's
            important, even if you won't use PJSIP.</b> Then I did this
          configuration, which is working fine under NAT:</div>
        <div><br>
        </div>
        <div><b>sip.conf:</b></div>
        <div>
          <div>[6001]</div>
          <div>type=friend</div>
          <div>secret=REDACTED</div>
          <div>host=dynamic</div>
          <div>context=interno</div>
          <div>disallow=all</div>
          <div>;allow=alaw,h263,h264,vp8</div>
          <div>allow=g722</div>
          <div>dtmf=auto</div>
          <div>videosupport=yes</div>
          <div>transport=ws,udp</div>
          <div>avpf=yes</div>
          <div>callerid="WebRTC" <6001></div>
          <div>encryption=yes</div>
          <div>qualify=yes</div>
          <div>directmedia=no</div>
          <div>nat=force_rport,comedia</div>
          <div>icesupport=yes</div>
          <div>dtlsenable=yes ; Tell Asterisk to enable DTLS for this
            peer</div>
          <div>dtlsverify=no ; Tell Asterisk to not verify your DTLS
            certs</div>
          <div>dtlscertfile=/etc/asterisk/keys/asterisk.pem ; Tell
            Asterisk where your DTLS cert file is</div>
          <div>dtlsprivatekey=/etc/asterisk/keys/asterisk.pem ; Tell
            Asterisk where your DTLS private key is</div>
          <div>dtlssetup=actpass ; Tell Asterisk to use actpass SDP
            parameter when setting up DTLS</div>
        </div>
        <div><br>
        </div>
        <div><b>rtp.conf:</b></div>
        <div>
          <div>icesupport=true</div>
          <div>stunaddr=<a moz-do-not-send="true"
              href="http://stun.l.google.com:19302">stun.l.google.com:19302</a></div>
        </div>
        <div><br>
        </div>
        <div><b>res_stun_monitor.conf:</b></div>
        <div>stunaddr = <a moz-do-not-send="true"
            href="http://stun.l.google.com:19302">stun.l.google.com:19302</a>
             ; Address of the STUN server to query.<b><br>
          </b></div>
        <div>stunrefresh = 30<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-08-12 5:23 GMT-03:00 Marek
          Červenka <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:cervajs@fpf.slu.cz" target="_blank">cervajs@fpf.slu.cz</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Dne
            11.8.2015 v 12:18 Joshua Colp napsal(a):<span class=""><br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Vinicius Fontes wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  I'm having the same issue! The difference in my case
                  is Asterisk server<br>
                  has a public IPv4 and the browser is behind a single
                  NAT.<br>
                  <br>
                  I'm forwarding my configuration below (which I posted
                  previously on<br>
                  asterisk-users).<br>
                  <br>
                  How can we debug ICE negotiation?<br>
                </blockquote>
                <br>
                You have to do a packet capture, look at the exchange in
                Wireshark, and see how the negotiation flows. It
                requires a basic understanding of ICE.<br>
                <br>
              </blockquote>
              <br>
            </span>
            it looks like we are facing this problem <a
              moz-do-not-send="true"
              href="https://issues.asterisk.org/jira/browse/ASTERISK-24146"
              rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://issues.asterisk.org/jira/browse/ASTERISK-24146">https://issues.asterisk.org/jira/browse/ASTERISK-24146</a></a>
            too<br>
            if we use "[]" in sipml5 expert config "To disable TURN/STUN
            to speedup ICE candidates gathering you can use an empty
            array. e.g. []."<br>
            it works better<span class="im HOEnZb"><br>
              <br>
              <br>
              <br>
              <br>
              -- <br>
              ---------------------------------------<br>
              Marek Cervenka<br>
              =======================================<br>
              <br>
              <br>
            </span>
            <div class="HOEnZb">
              <div class="h5">
                -- <br>
_____________________________________________________________________<br>
                -- Bandwidth and Colocation Provided by <a
                  moz-do-not-send="true"
                  href="http://www.api-digital.com" rel="noreferrer"
                  target="_blank"><a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a></a> --<br>
                New to Asterisk? Join us for a live introductory webinar
                every Thurs:<br>
                              <a moz-do-not-send="true"
                  href="http://www.asterisk.org/hello" rel="noreferrer"
                  target="_blank">http://www.asterisk.org/hello</a><br>
                <br>
                asterisk-users mailing list<br>
                To UNSUBSCRIBE or update options visit:<br>
                  <a moz-do-not-send="true"
                  href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                  rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
---------------------------------------
Marek Cervenka
=======================================
</pre>
  </body>
</html>