I didn't have sure about the behavior of that function, i don't know if do
you have to use it with the dmq_is_from_node() in order to avoid loops.
BR
2017-11-20 11:13 GMT+00:00 Aidar Kamalov :
> if I call dmq_handle_message() all kamailio will dead beacause of loop.
>
>
if I call dmq_handle_message() all kamailio will dead beacause of loop.
2017-11-20 14:08 GMT+03:00 José Seabra :
> The 7 dmq messages that the node receives seems that are re-transmissions.
> I think that you must call the dmq_handle_message() function within your
> REDIS
The 7 dmq messages that the node receives seems that are re-transmissions.
I think that you must call the dmq_handle_message() function within your
REDIS route in order to stop re-transmissions, but i'm not sure, make a
test please.
Regarding to that ERROR msg that you sent, it seems that your
Redis replication is not about multi-master. All kamailio has same dmq
settings (except server_address). And I see that ERROR message not always
and not only to 192.168.150.225. And it is very strange that kamailio
receive 7 sip messages if only one sent.
So, this way to usage dmq right?
Hello,
Why do you are using DMQ to replicate data across your redis servers since
redis has its own replication mechanisms?
BR
José
2017-11-20 10:12 GMT+00:00 Aidar Kamalov :
> Hello, I want to distribute some messages-actions for redis to my kamailio
> servers.
> I use
And also I can see that in my logs. But network is working ok.
Nov 20 10:14:04 sipchel /usr/sbin/kamailio[8362]: ERROR: dmq
[notification_peer.c:588]: notification_resp_callback_f(): deleting server
sip:192.168.150.225:5060 because of failed request
Nov 20 10:14:04 sipchel
Hello, I want to distribute some messages-actions for redis to my kamailio
servers.
I use this code:
For send:
dmq_bcast_message("redis", "set early:$fU", "text/plain");
For recieve:
request_route {
xnotice("ROOT: $rm $rU [$ci]");
if(is_method("KDMQ")) {
if($rU == 'redis') {