<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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="moz-cite-prefix">On 27.09.18 10:40, Jan Hazenberg wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAA4dYTC96mM_aFoyKMjvFMUXxE9PJHazNY8VbHYZ9wR6AAYEqQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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="moz-txt-link-rfc2396E" href="sip:sipuser@10.10.10.10:1057;alias=10.10.10.10~1055~1">"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"
moz-do-not-send="true">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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>