<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      that combination of dispatcher+websocket+xhttp modules works just
      fine...<br>
      <br>
      So to load balance the SIP signaling with Kamailio towards
      FreeSwitch, just use the dispatcher module as usual. A sample
      config is available at:
      <p>  -
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.config">https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.config</a></p>
      <p>You need to add the support for websocket traffic via websocket
        module:</p>
      <p>  -
<a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/websocket.html#idp42826164">https://www.kamailio.org/docs/modules/stable/modules/websocket.html#idp42826164</a></p>
      <p>or extract from the tutorial linked in a previous email on this
        thread.</p>
      <p>Cheers,<br>
        Daniel<br>
      </p>
      <br>
      <br>
      On 13.06.17 16:38, Joel Serrano wrote:<br>
    </div>
    <blockquote
cite="mid:CAMtXxQkrCf0+iv9-5e0VtQFN-wuAXAPcbboSV4FfPwraAmFDFg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Karsten, <br>
        <div><br>
        </div>
        <div>Have you tried with regular Kamailio (w/
          dispatcher+websocket+xhttp modules)? I don't see why it
          wouldn't work...</div>
        <div><br>
        </div>
        <div>Joel.</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jun 7, 2017 at 4:47 AM, Karsten
          Horsmann <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:khorsmann@gmail.com" target="_blank">khorsmann@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hello List,
              <div><br>
              </div>
              <div><br>
              </div>
              <div>is there any howto about webrtc loadbalance in
                combination with kamailio and FreeSWITCH?</div>
              <div><br>
              </div>
              <div>I want to share one WSS address/endpoint to multiple
                FreeSWITCH backends.<br>
              </div>
              <div>Or is there any other best practice?</div>
              <div><br>
              </div>
              <div>My callflow is mostly that my internal SIP Servers
                called my registered webrtc clients.</div>
              <div><br>
              </div>
              <div>Would be nice to get some input.</div>
              <span class="HOEnZb"><font color="#888888">
                  <div>
                    <div><br>
                    </div>
                    -- <br>
                    <div class="m_-7427222774697258034gmail_signature"
                      data-smartmail="gmail_signature">Kind Regards<br>
                      *Karsten Horsmann*<br>
                    </div>
                  </div>
                </font></span></div>
            <br>
            ______________________________<wbr>______________________________<wbr>_____________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" rel="noreferrer"
              target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" rel="noreferrer"
              target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <p><br>
    </p>
    <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 - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>