[SR-Users] DMQ problems

Aleksandar Sosic alex.sosic at evosip.cloud
Sat Jun 30 08:32:29 CEST 2018


Hi Charles,

The notification address is set to localhost only for the server node
because I have a mutual architecture and don't know which nodes are up
and with which IPs. There could be a possibility that there are no
other kamailio nodes beside the dmq-server.
I'm pretty sure this configuration was working some time ago, We've
since then changed some configuration but no dmq configuration was
changed as I'm aware of. The other thing that changes is the kamailio
version. I will try to use a stable version and retry.

I've tried a capture with tshark and on the local interface I've got:
```    3 0.116690338 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown
request: KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
    4 0.116771925 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown request:
KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
    5 1.116940867 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown request:
KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
    6 3.116729798 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown request:
KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
    7 4.116611072 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown request:
KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
    8 7.116677754 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown request:
KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
    9 8.116711422 10.0.0.101 ? 127.0.0.1    SIP 557 Unknown request:
KDMQ sip:notification_peer at 127.0.0.1:5060 |  (text/plain)
```

On the public interface there are packets arriving from the other two
kamailio nodes:
```
  221 218.212276413  10.0.0.50 ? 172.22.5.102 SIP 561 Unknown request:
KDMQ sip:notification_peer at 10.0.0.102:5060 |  (text/plain)
  222 219.212053642  10.0.0.50 ? 172.22.5.102 SIP 561 Unknown request:
KDMQ sip:notification_peer at 10.0.0.102:5060 |  (text/plain)
  223 219.955864183  10.0.0.49 ? 172.22.5.102 SIP 562 Unknown request:
KDMQ sip:notification_peer at 10.0.0.102:5060 |  (text/plain)
  224 220.955964403  10.0.0.49 ? 172.22.5.102 SIP 562 Unknown request:
KDMQ sip:notification_peer at 10.0.0.102:5060 |  (text/plain)
```

But in the logs of all three kamailio nodes I've got:
```
 9(64) ERROR: dmq [notification_peer.c:596]:
notification_resp_callback_f(): deleting server sip:10.0.0.102:5060
because of failed request
 9(64) ERROR: dmq [notification_peer.c:599]:
notification_resp_callback_f(): not deleting notification_peer
```
Also no luck with the dmq.list_nodes.

Kind regards and thank you for your time, I really appreciate it!
--
Aleksandar Sosic
mail: alex.sosic at evosip.cloudOn Sat, Jun 23, 2018 at 6:27 PM Charles
Chance <charles.chance at sipcentric.com> wrote:
>
> Hello,
>
> Is there anything preventing the messages from reaching Kamailio? If you have a pcap from one of the servers we may be able to see what’s happening.
>
> Also, you have the notification address set to localhost - this should instead point to one of the other nodes.
>
> Cheers,
>
> Charles



More information about the sr-users mailing list