<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>you have to implement a classic-sip-to-webrtc gateway, which can
      be done using kamailio and rtpengine. If you search on the web,
      you can find some sample configs that can be good starting points
      to plug into your existing configuration.</p>
    <p>Sometime is better to use a dedicated system for this
      classic-sip-to-webrtc gateway function, so the main Kamailio SIP
      server configuration stays simpler.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 17.11.20 09:45, Melek Oktay wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOopgPW33oZYhFVX6Woex9zsP9+REANaYGqJCtX-M4AAF8+U5A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I am using FreeSwitches behind the Kamailio proxy server
          and I am trying to allow multiple registration to my
          extensions. </div>
        <div><br>
        </div>
        <div>So, following configuration is sample of my Kamailio</div>
        <div><br>
        </div>
        <div>modparam("registrar", "xavp_cfg", "reg")<br>
          ......</div>
        <div><br>
        </div>
        <div>$xavp(reg=>max_contacts) = 10;<br>
          save("location");<br>
        </div>
        <div>....</div>
        <div><br>
        </div>
        <div>I saw my phones could register with the same account
          credentials via several phones such as Cisco, Zoiper, Yealing
          etc. When the call is forward to this extension, all of them
          are ringing.  Very Nice.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>But, when I am trying to REGISTER WebRTC supports
          soft-phones to my system and with the same account
          credentials, my extensions are not ringing like in the
          previous scenario. WebRTC uses Websocket  (WS) technology and
          clients register to Kamailio via usrloc module. </div>
        <div><br>
        </div>
        <div>When the call is forward to this extension, Kamailio try to
          replicate WebRTC'S INVITE packet to other phones (Cisco,
          Yealing, zoiper etc) and none of them understand incoming
          INVITE request because of WebRTC supported protocols  (ICE
          ,a=candidate) , in a brief, phones could not
          recognize/understand  incoming WebRTC request.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>This is a really tough issue for me, how can I send
          appropriate INVITEs for each of them.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>