<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 17.10.17 10:27, : Paolo Visintin -
      Time-Net S.r.l. wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALrq-bcnhzrhj_LBPKdKzfXPhHXGWps5U7DN4bsBV+jbYyQLaA@mail.gmail.com">
      <div dir="ltr">
        <div>Hi kamailio users,  I'm wondering if there's something
          already done with shared dialog among more kamailio instances,
          in order to manage branches initalized by another kamailio
          instance.</div>
        <div><br>
        </div>
        <div>
          <div class="gmail_default"
            style="font-family:tahoma,sans-serif;display:inline">​A</div>
          ctually seems not possible (also with db mode) because
          kamailio is looking into caller/callee_sock and if it's
          different does not manage</div>
        <div><br>
        </div>
        <div>in a "standard" failover environment (master / slave) with
          vIP and keepalived and $fs = VIRTUAL_IP everything is working
          fine<br>
        </div>
        <div><br>
        </div>
        <div>but in a distributed environment this could not happen as
          the relay is managed by a kamailio proxy</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    I looked at the code and the dialog module just not sets the local
    socket fields if there is no match, but loads them from db and all
    should be fine, an existing socket will be used if there is a need
    to send BYE. What exactly you encointered? There is a warning
    message when the local socket is not matched, but it's about
    ignoring the socket field, not ignoring the dialog from db.<br>
    <br>
    Cheers,<br>
    Daniel<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, Nov 13-15, 2017, in Berlin - <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>