<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>can you share the relevant parts of your configuration file
      related to use of dispatcher module? Can you check again if the
      proper load balancing algorithm is used?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 19/02/2017 09:56, Graham Brown
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAG0MEQJkPVTMU0UB=ptBSp0Ti3MFu4e2=Om-b2JaKdfSjmG5dA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="gmail_signature">I'm trying to load balance 2
            Asterisk servers with Kamailio offloading the registration
            to Kamailio using the Asterisk real-time database tables. </div>
          <div class="gmail_signature">I have a problem with the
            dispatcher module, if there is a t_on_failure route it
            always goes into that, if I remove that then I would expect
            every call to round robin but I'm only ever hitting the same
            server from the same extension (seems like sticky session
            based on source ip).<br>
          </div>
        </div>
        <div class="gmail_signature"><br>
        </div>
        <div class="gmail_signature">1. how do I fix my failure route so
          I can reboot server 1 and server 2 will be used</div>
        <div class="gmail_signature">2. how to I change the sticky
          session behaviour.</div>
        <div class="gmail_signature"><br>
        </div>
        <div class="gmail_signature">Another issue I am facing with
          extensions registering to Asterisk are only avaliable on the
          server they routed to My assumption was if using the Asterisk
          real-time database I would get the contact on both servers. 
          Maybe my architecture is incorrect, I'm open to suggestions.
          Currently Kamailio is not storing locations (assuming that is
          the extension contact) maybe that is a better solution, but I
          dont know how to configure Asterisk to forward everything to
          Kamailio then or integrate via the database or something.</div>
        <div class="gmail_signature"><br>
        </div>
        <div class="gmail_signature">Thanks in advance for any help</div>
        <div class="gmail_signature"><br>
        </div>
        <div class="gmail_signature">
          <div>
            <div class="gmail_signature">Regards</div>
          </div>
          <div class="gmail_signature">Graham</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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 - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>