<div><div dir="auto">Hello,</div></div><div dir="auto"><br></div><div dir="auto">Can you share your dmq config (modparams) and the output of dmq.list_nodes?</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 Thu, 27 Sep 2018 at 12:51, Jan Hazenberg <<a href="mailto:jenus321@gmail.com">jenus321@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">In the output of "kamcmd dmq.list_nodes" i see nodes twice. One with ip address of the host and one with the hostname of the host.</div></div><div dir="ltr"><div dir="ltr"><br></div><div>Jan</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 27, 2018 at 12:47 PM Jan Hazenberg <<a href="mailto:jenus321@gmail.com" target="_blank">jenus321@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Daniel,<div><br></div><div>It indeed sends duplicate DMQ messages, one to the ip of the other node and one to the hostname of the other node. </div><div><br></div><div><div>Unknown request: KDMQ sip:dialog@sip04.voip.domain.acc:5060 |  (application/json)</div><div>Unknown request: KDMQ <a href="http://sip:dialog@10.10.10.12:5060" target="_blank">sip:dialog@10.10.10.12:5060</a> |  (application/json)</div></div><div><br></div><div>Is there any way to disable this?</div><div><br></div><div>Thanks,</div><div><br></div><div>Jan</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 27, 2018 at 11:50 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>the log message says that the dialog was already added to the
      timer. Do you see retransmissions of the DMQ requests on the
      network with ngrep/wireshark/...?<br>
    </p>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-cite-prefix">On 27.09.18 10:40, Jan Hazenberg wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr"><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px;white-space:nowrap">Hello,</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">I'm
          trying to replicate active dialogs using the DMQ module. I see
          the dialogs on the other nodes but it generates a error
          message in the logs on all the nodes:</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">Sep
          27 10:17:31 sip04 /usr/sbin/kamailio[27367]: CRITICAL: dialog
          [dlg_timer.c:130]: insert_dlg_timer(): Trying to insert a
          bogus dlg tl=0x7efdca1bebf8 tl->next=0x7efdca14cb80
          tl->prev=0x7efdca14cb80</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">Sep
          27 10:17:31 sip04 /usr/sbin/kamailio[27367]: CRITICAL: dialog
          [dlg_dmq.c:309]: dlg_dmq_handle_msg(): Unable to insert dlg
          timer 0x7efdca1beb98 [2643:3725]</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">Even
          with the timeout_avp option disabled i still see the error
          messages. I tested this on kamailio 5.0.3 and 5.1.3 with the
          same results.</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">With
          debug enabled i see the correct data is replicated to the
          other nodes:</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">dlg_dmq_replicate_action():
          sending serialized data
{"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 class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-rfc2396E">"sip:sipuser@10.10.10.10:1057;alias=10.10.10.10~1055~1"</a>,"contact2":"<a href="http://sip:+31101234567@10.10.10.10:5060" target="_blank">sip:+31101234567@10.10.10.10:5060</a>"}</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">"lifetime":7200
          is in the serialized data, and when i check on the other node
          with "kamcmd dlg.list" i see that the lifetime data is not
          updated.</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px;white-space:nowrap">Thanks,</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <br style="color:rgb(51,51,51);font-family:monospace;font-size:12px">
        <span style="color:rgb(51,51,51);font-family:monospace;font-size:12px">Jan</span><br>
      </div>
      <br>
      <fieldset class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="m_-4981210221184133136m_-1772693476574847804m_864456992063538680moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre>
  </div>

</blockquote></div>
</blockquote></div>
_______________________________________________<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>
</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>