<div><div dir="auto">Hi Jan,</div></div><div dir="auto"><br></div><div dir="auto">Setting multi_notify parameter should fix.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Charles</div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, 1 Oct 2018 at 08:26, <<a href="mailto:jenus@cyberchaos.nl">jenus@cyberchaos.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Charles,<br>
<br>
I have the follwing parameters configured:<br>
<br>
# ----- dmq params -----<br>
modparam("dmq", "server_address", "sip:<a href="http://10.10.10.1:5060" rel="noreferrer" target="_blank">10.10.10.1:5060</a>")<br>
modparam("dmq", "num_workers", 4)<br>
modparam("dmq", "ping_interval", 90)<br>
modparam("dmq", "notification_address", <br>
"sip:sip04.voip.domain.test:5060")<br>
<br>
And the output of dmq.list_nodes is:<br>
<br>
{<br>
         host: 10.10.10.2<br>
         port: 5060<br>
         resolved_ip: 10.10.10.2<br>
         status: active<br>
         last_notification: 0<br>
         local: 0<br>
}<br>
{<br>
         host: sip03.voip.domain.test<br>
         port: 5060<br>
         resolved_ip: 10.10.10.1<br>
         status: active<br>
         last_notification: 0<br>
         local: 0<br>
}<br>
{<br>
         host: sip04.voip.domain.test<br>
         port: 5060<br>
         resolved_ip: 10.10.10.2<br>
         status: active<br>
         last_notification: 0<br>
         local: 0<br>
}<br>
{<br>
         host: 10.10.10.1<br>
         port: 5060<br>
         resolved_ip: 10.10.10.1<br>
         status: active<br>
         last_notification: 0<br>
         local: 1<br>
}<br>
<br>
<br>
As you can see the nodes are listed twice, one time with the ip and one <br>
time with the hostname. If i change the notification_address to a ip <br>
address the duplicate entry's are gone.<br>
<br>
Thanks,<br>
<br>
Jan<br>
<br>
Charles Chance schreef op 2018-09-28 20:54:<br>
> Hello,<br>
> <br>
> Can you share your dmq config (modparams) and the output of<br>
> dmq.list_nodes?<br>
> <br>
> Cheers,<br>
> <br>
> Charles<br>
> <br>
> On Thu, 27 Sep 2018 at 12:51, Jan Hazenberg <<a href="mailto:jenus321@gmail.com" target="_blank">jenus321@gmail.com</a>><br>
> wrote:<br>
> <br>
>> In the output of "kamcmd dmq.list_nodes" i see nodes twice. One with<br>
>> ip address of the host and one with the hostname of the host.<br>
>> <br>
>> Jan<br>
>> <br>
>> On Thu, Sep 27, 2018 at 12:47 PM Jan Hazenberg <<a href="mailto:jenus321@gmail.com" target="_blank">jenus321@gmail.com</a>><br>
>> wrote:<br>
>> <br>
>> Daniel,<br>
>> <br>
>> It indeed sends duplicate DMQ messages, one to the ip of the other<br>
>> node and one to the hostname of the other node.<br>
>> <br>
>> Unknown request: KDMQ sip:dialog@sip04.voip.domain.acc:5060 |<br>
>> (application/json)<br>
>> Unknown request: KDMQ <a href="http://sip:dialog@10.10.10.12:5060" rel="noreferrer" target="_blank">sip:dialog@10.10.10.12:5060</a> [5] |<br>
>> (application/json)<br>
>> <br>
>> Is there any way to disable this?<br>
>> <br>
>> Thanks,<br>
>> <br>
>> Jan<br>
>> <br>
>> On Thu, Sep 27, 2018 at 11:50 AM Daniel-Constantin Mierla<br>
>> <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br>
>> <br>
>> Hello,<br>
>> <br>
>> the log message says that the dialog was already added to the timer.<br>
>> Do you see retransmissions of the DMQ requests on the network with<br>
>> ngrep/wireshark/...?<br>
>> Cheers,<br>
>> Daniel<br>
>> <br>
>> On 27.09.18 10:40, Jan Hazenberg wrote:<br>
>> <br>
>> Hello,<br>
>> <br>
>> I'm trying to replicate active dialogs using the DMQ module. I see<br>
>> the dialogs on the other nodes but it generates a error message in<br>
>> the logs on all the nodes:<br>
>> <br>
>> Sep 27 10:17:31 sip04 /usr/sbin/kamailio[27367]: CRITICAL: dialog<br>
>> [dlg_timer.c:130]: insert_dlg_timer(): Trying to insert a bogus dlg<br>
>> tl=0x7efdca1bebf8 tl->next=0x7efdca14cb80 tl->prev=0x7efdca14cb80<br>
>> Sep 27 10:17:31 sip04 /usr/sbin/kamailio[27367]: CRITICAL: dialog<br>
>> [dlg_dmq.c:309]: dlg_dmq_handle_msg(): Unable to insert dlg timer<br>
>> 0x7efdca1beb98 [2643:3725]<br>
>> <br>
>> Even with the timeout_avp option disabled i still see the error<br>
>> messages. I tested this on kamailio 5.0.3 and 5.1.3 with the same<br>
>> results.<br>
>> <br>
>> With debug enabled i see the correct data is replicated to the other<br>
>> nodes:<br>
>> <br>
>> dlg_dmq_replicate_action(): sending serialized data<br>
>> <br>
> {"action":2,"h_entry":1328,"h_id":409,"state":4,"start_ts":1538036606,"lifetime":7200,"tag1":"1635359980","tag2":"as2d80799c","cseq1":"21","cseq2":"0","route_set1":"","route_set2":"","contact1":"<a href="http://sip:sipuser@10.10.10.10:1057" target="_blank">sip:sipuser@10.10.10.10:1057</a>;alias=10.10.10.10~1055~1","contact2":"<a href="http://sip:+31101234567@10.10.10.10:5060" rel="noreferrer" target="_blank">sip:+31101234567@10.10.10.10:5060</a><br>
>> [6]"}<br>
>> <br>
>> "lifetime":7200 is in the serialized data, and when i check on the<br>
>> other node with "kamcmd dlg.list" i see that the lifetime data is<br>
>> not updated.<br>
>> <br>
>> Thanks,<br>
>> <br>
>> Jan<br>
>> <br>
>> _______________________________________________<br>
>> Kamailio (SER) - Users Mailing List<br>
>> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
>> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> <br>
>> --<br>
>> Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a> [1]<br>
>> <a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> [2] -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a> [3]<br>
>> Kamailio World Conference -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a> [4]<br>
>> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin --<br>
>> <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a> [1]<br>
>  _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
> --<br>
> <br>
> CHARLES CHANCE<br>
> Managing Director<br>
> <br>
> t. 0330 120 1200    m. 07932 063 891<br>
> Sipcentric Ltd. Company registered in England & Wales no. 7365592.<br>
> Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt<br>
> Street, Birmingham Science Park, Birmingham B7 4BB.<br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a><br>
> [2] <a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">http://www.twitter.com/miconda</a><br>
> [3] <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/miconda</a><br>
> [4] <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">http://www.kamailioworld.com</a><br>
> [5] <a href="http://sip:dialog@10.10.10.12:5060" rel="noreferrer" target="_blank">http://sip:dialog@10.10.10.12:5060</a><br>
> [6] <a href="http://sip:+31101234567@10.10.10.10:5060" rel="noreferrer" target="_blank">http://sip:+31101234567@10.10.10.10:5060</a><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="arial, helvetica, sans-serif"><b><font size="2">Charles Chance</font></b><br><font size="2">Managing Director</font></font><br><div><font face="arial, helvetica, sans-serif"><font size="2"><br></font></font></div><div><font face="arial, helvetica, sans-serif"><font size="2">t. 0330 120 1200    m. 07932 063 891</font></font></div></div></div></div></div>

<br>
<div><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Sipcentric Ltd.
                Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Registered
                office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div>