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.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
  https://www.siphub.com

On 6/27/23 4:50 PM, Denys Pozniak wrote:
Each node of the cluster has two public addresses: a shared anycast and its own public. Requests from the Internet come to the anycast address and are sent to the network core through the public one.


вт, 27 июн. 2023 г. в 16:34, Bogdan-Andrei Iancu <bog...@opensips.org <mailto:bog...@opensips.org>>:

    Hi Denys,

    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 ?

    Regards,

    Bogdan-Andrei Iancu

    OpenSIPS Founder and Developer
       https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
       https://www.siphub.com  <https://www.siphub.com>

    On 6/27/23 4:03 PM, Denys Pozniak wrote:
    Hello!

    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?
    The call flow is next:
    Internet -> node_ANYCAST_IP -> node_PUBLIC_IP -> PBX

    An error about a non-local socket appears on this node:

    WARNING:dialog:fetch_socket_info: non-local socket
    <udp:<PUBLIC_IP>:5060>...ignoring
    ERROR:dialog:dlg_replicated_create: Replicated dialog doesn't
    match callee's listening socket udp:<PUBLIC_IP>:5060
    DBG:dialog:destroy_dlg: destroying dialog 0x7f5b12e78940
    DBG:dialog:destroy_dlg: dlg expired or not in list - dlg
    0x7f5b12e78940 [267:943685935] with clid
    '0032B4CA-3713-EE11-970D-014D030D01EB@10.25.101.195
    <mailto:0032B4CA-3713-EE11-970D-014D030D01EB@10.25.101.195>' and
    tags 'NULL' 'NULL'
    ERROR:dialog:receive_dlg_repl: Failed to process a binary packet!

    There were several similar topics on the mailing list, but I have
    not yet found a working solution.
    Thanks in advance!
--
    BR,
    Denys Pozniak



    _______________________________________________
    Users mailing list
    Users@lists.opensips.org  <mailto:Users@lists.opensips.org>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>



--

BR,
Denys Pozniak



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to