<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">OK, it makes sense. In this case, for its own
      public address, use a `tag` in its definition - and use the same
      tag on all the servers. If a tag is defined for the socket, the
      tag will be used for matching the sockets during replication.<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 6/27/23 4:50 PM, Denys Pozniak
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+x3Axq-YumPzXnaPqWcUo4ZbdCCUMd7zs48VXUd4zhGk=KVFQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Each node of the cluster has two public addresses:
        a shared anycast and its own public.<br>
        Requests from the Internet come to the anycast address and are
        sent to the network core through the public one.<br>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">вт, 27 июн. 2023 г. в 16:34,
          Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org"
            moz-do-not-send="true">bogdan@opensips.org</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div> <font face="monospace">Hi Denys,<br>
              <br>
              You mentioned anycast, so the same IP should be on all
              servers, right ? why do you have the dialog related to an
              IP which is not common to all servers ?<br>
              <br>
              Regards,<br>
            </font>
            <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" target="_blank" moz-do-not-send="true">https://www.siphub.com</a></pre>
            <div>On 6/27/23 4:03 PM, Denys Pozniak wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div>Hello!</div>
                <div><br>
                </div>
                If there is any way to force the replication of the
                dialog within the clusterer to a foreign node that
                listens to its own public address (PUBLIC_IP) + common
                anycast one?
                <div>The call flow is next:</div>
                <div>Internet -> node_ANYCAST_IP -> node_PUBLIC_IP
                  -> PBX<br>
                  <div><br>
                  </div>
                  <div>An error about a non-local socket appears on this
                    node:<br>
                    <br>
                    WARNING:dialog:fetch_socket_info: non-local socket
                    <udp:<PUBLIC_IP>:5060>...ignoring<br>
                    ERROR:dialog:dlg_replicated_create: Replicated
                    dialog doesn't match callee's listening socket
                    udp:<PUBLIC_IP>:5060<br>
                    DBG:dialog:destroy_dlg: destroying dialog
                    0x7f5b12e78940<br>
                    DBG:dialog:destroy_dlg: dlg expired or not in list -
                    dlg 0x7f5b12e78940 [267:943685935] with clid '<a
                      href="mailto:0032B4CA-3713-EE11-970D-014D030D01EB@10.25.101.195"
                      target="_blank" moz-do-not-send="true">0032B4CA-3713-EE11-970D-014D030D01EB@10.25.101.195</a>'
                    and tags 'NULL' 'NULL'<br>
                    ERROR:dialog:receive_dlg_repl: Failed to process a
                    binary packet!<br>
                    <br>
                    There were several similar topics on the mailing
                    list, but I have not yet found a working solution.<br
                      clear="all">
                    <div>Thanks in advance!<br>
                    </div>
                    <span class="gmail_signature_prefix">-- </span><br>
                    <div dir="ltr" class="gmail_signature">
                      <div dir="ltr"><br>
                        <div>
                          <div>BR,</div>
                          <div>Denys Pozniak<br>
                          </div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr"><br>
          <div>
            <div>BR,</div>
            <div>Denys Pozniak<br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>