Another bit of data:
KDMQ messages flow in the wrong direction i.e. (Node B to A) only for dialog state: 5 updates.
And this happens after the actual KDMQ from A to B has already been ack'd with a 200 OK.
Hi Charles,
Yes I exit after the handle_dmq function in the request route.
I couldn't spot the looping this time (as it is intermittent), but here is the trace of messages that may indicate something weird or unexpected happening with DMQ:
Regards,
Owais
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.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users