<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 05.01.18 09:55, Karsten Horsmann
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFArqsY1Y9ACo3-OUhjePw+Znfs4cSJs0N84YKusArfAHd8hEg@mail.gmail.com">
      <div dir="auto">Hello,
        <div dir="auto"><br>
        </div>
        <div dir="auto">you also be aware of longer callsetups to webrtc
          clients (13 - 38 seconds) if there are many ICE candidates on
          the client (like different networking devices).</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">There maybe also fixes in the js SIP libraries
          for that (I don't touch this area). </div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    if you know that it is low chance to work without a rtp relay (such
    as rtpengine), one option here is to remove all ice candidates and
    let only the ones from the relay. This is a solution in
    kamailio.cfg.<br>
    <br>
    Otherwise, there are some variants of ICE that should make the setup
    faster (e.g., use relay first, they try other better variants and if
    one works switch to it). Not sure the state of implementation in
    browsers and the options offered by various sip js libraries.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote type="cite"
cite="mid:CAFArqsY1Y9ACo3-OUhjePw+Znfs4cSJs0N84YKusArfAHd8hEg@mail.gmail.com">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">Am 05.01.2018 9:04 vorm. schrieb
          "Daniel-Constantin Mierla" <<a
            href="mailto:miconda@gmail.com" moz-do-not-send="true">miconda@gmail.com</a>>:<br
            type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>Hello,</p>
              <p>another thing that one should be aware of is that in
                webrtc/websocket some sip headers (e.g., via, contact)
                use a random string instead of ip addresses and many old
                devices will throw parsing error. jssip (and maybe other
                js sip stacks) has an option to enable using a private
                ip address instead of a random ip address.</p>
              <p>Cheers,<br>
                Daniel<br>
              </p>
              <br>
              <div class="m_4155392308317749338moz-cite-prefix">On
                27.12.17 12:55, Karsten Horsmann wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Hello Paul and List,
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>you can use the nice WebRTC Example from havfo at
                    github</div>
                  <div><a href="https://github.com/havfo/WEBRTC-to-SIP"
                      target="_blank" moz-do-not-send="true">https://github.com/havfo/<wbr>WEBRTC-to-SIP</a></div>
                  <div><br>
                  </div>
                  <div>The magic with kamailio, rtpengine and WebRTC /
                    SIP Bridging starts in this route.</div>
                  <div><br>
                  </div>
                  <div><a
href="https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg#L599"
                      target="_blank" moz-do-not-send="true">https://github.com/havfo/<wbr>WEBRTC-to-SIP/blob/master/etc/<wbr>kamailio/kamailio.cfg#L599</a><br>
                  </div>
                  <div><br>
                  </div>
                  <div>You can merge this with the default kamailio
                    advanced config to create an kamailio/rtpengine SBC.</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Kind Regards</div>
                  <div><br>
                  </div>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2017-12-26 14:35 GMT+01:00 <span
                      dir="ltr"><<a
                        href="mailto:paul@kristianpaul.org"
                        target="_blank" moz-do-not-send="true">paul@kristianpaul.org</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
                      <br>
                      I'm looking to use kamailio as a webrtc proxy for
                      legacy sip system that<br>
                      doesnt have this capability, is there a example or
                      blueprint i can<br>
                      follow to get started with this? I'm RTFMing the
                      docs but still<br>
                      need a while to understand kamailio internals :-)<br>
                      <br>
                      ______________________________<wbr>_________________<br>
                      Kamailio (SER) - Users Mailing List<br>
                      <a href="mailto:sr-users@lists.kamailio.org"
                        target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
                      <a
                        href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                  <div class="m_4155392308317749338gmail_signature"
                    data-smartmail="gmail_signature">Mit freundlichen
                    Grüßen<br>
                    *Karsten Horsmann*<br>
                  </div>
                </div>
                <br>
                <fieldset
                  class="m_4155392308317749338mimeAttachmentHeader"></fieldset>
                <br>
                <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_4155392308317749338moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_4155392308317749338moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
              </blockquote>
              <br>
              <pre class="m_4155392308317749338moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_4155392308317749338moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_4155392308317749338moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="m_4155392308317749338moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_4155392308317749338moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Kamailio (SER) - Users Mailing List<br>
            <a href="mailto:sr-users@lists.kamailio.org"
              moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
            <a
              href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
            <br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 5-7, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>