<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Kneeoh,<br>
      <br>
      The dialog replication is done assuming that both opensips servers
      do share the listening interface (via vrrp, heartbeat, etc). Do
      you different listening IPs on the 2 opensips instances ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 29.04.2015 20:35, Kneeoh wrote:<br>
    </div>
    <blockquote
      cite="mid:1680991003.788492.1430328959819.JavaMail.yahoo@mail.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div id="yui_3_16_0_1_1430328785670_3840">Hello, I've got two
          VIPs on two instances of opensips and am doing dialog
          replication. I'm getting a steady stream of failed to
          replicate dialog errors in my opensips log.</div>
        <div id="yui_3_16_0_1_1430328785670_3841"><br>
        </div>
        <div id="yui_3_16_0_1_1430328785670_3859" dir="ltr">192.168.30.39</div>
        <div id="yui_3_16_0_1_1430328785670_3860" dir="ltr">192.168.30.40</div>
        <div id="yui_3_16_0_1_1430328785670_3861" dir="ltr">are the two
          VIPs. Both have a listen = on both opensips configs. I'm not
          sure if this line in the log is the problem but it looks like
          it: " DBG:core:bin_pop_str: Popped: '' [0]" I'm not sure how
          the receive IP could be an empty string.<br>
        </div>
        <div id="yui_3_16_0_1_1430328785670_3842"><br>
        </div>
        <div id="yui_3_16_0_1_1430328785670_3843">debug:</div>
        <div id="yui_3_16_0_1_1430328785670_3844"><br>
        </div>
        <div id="yui_3_16_0_1_1430328785670_3845" dir="ltr"> DBG:dialog:dlg_replicated_create:
          Received replicated dialog!<br style="" class="">
           DBG:core:bin_pop_str: Popped: 'udp:192.168.30.40:5060' [22]<br
            style="" class="">
           DBG:core:grep_sock_info: checking if host==us: 13==13
          &amp;&amp;  [192.168.30.40] == [192.168.30.39]<br style=""
            class="">
           DBG:core:grep_sock_info: checking if port 5060 matches port
          5060<br style="" class="">
           DBG:core:grep_sock_info: checking if host==us: 13==13
          &amp;&amp;  [192.168.30.40] == [192.168.30.40]<br style=""
            class="">
           DBG:core:grep_sock_info: checking if port 5060 matches port
          5060<br style="" class="">
           DBG:core:bin_pop_str: Popped: '' [0]<br style="" class="">
           ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't
          match any listening sockets<br style="" class="">
           DBG:dialog:destroy_dlg: destroing dialog 0x7f09ddd9f958<br
            style="" class="">
           DBG:dialog:destroy_dlg: dlg expired or not in list - dlg
          0x7f09ddd9f958 [2225:721583693] with clid
          'f4f2446c-6937-1233-f798-0024e869f1eb' and tags 'NULL' 'NULL'<br
            style="" class="">
           ERROR:dialog:receive_binary_packet: Failed to process a
          binary packet!<br>
        </div>
        <div id="yui_3_16_0_1_1430328785670_3889"><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>