Hi,

I am using Kamailio 5.1.1 with DMQ with the following config (relevant parts) on 2 nodes.

Node A:
modparam("dialog", "enable_dmq", 1)
modparam("dmq", "server_address", "sip:no.de.a.ip:5060")
modparam("dmq", "notification_address", "sip:myvoip.local")
modparam("dmq", "multi_notify", 1)


Node B:
modparam("dialog", "enable_dmq", 1)
modparam("dmq", "server_address", "sip:no.de.b.ip:5060")
modparam("dmq", "notification_address", "sip:myvoip.local")
modparam("dmq", "multi_notify", 1)

"myvoip.local" is a DNS A record that resolves to both the IPs of A and B.

I have the dmq_handle_message(); called if method is of type "KDMQ" in the request_route.

Now, in order to test it, I only sent a few calls only on node A.
KDMQ messages flowed to node B and dialog state replicated. But I noticed, node B was randomly sending one of the KDMQ dialog messages back to A and receiving a 500 "Server Internal Error" back from node A... (for a subset of those calls, not all).

Why would this be the case when the nodes correctly recognize their local status by the "local: 1" set as seen from dmq.list_nodes

Anyone else experienced this? What could I be doing wrong?


Thanks,
Pat.