<div dir="ltr"><div>Haven't seen your</div><div>modparam("dialog", "ka_interval", 300)</div><div><br></div><div>Instead of us guessing, better send all your dialog pertaining params and functions called.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 22, 2019 at 8:56 AM Ildar Mukhametzhanov <<a href="mailto:im@voice-on.net">im@voice-on.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>dlg_manage() was there from the beginning, adding of
dlg_set_property had no effect.<br>
</p>
<div class="gmail-m_-1679390964891469346moz-cite-prefix">22.05.2019 15:35, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Most probably you aren't calling dlg_manage()</div>
<div><br>
</div>
<div>
<div>if(is_method("INVITE") && !has_totag()) {</div>
<div> dlg_manage();</div>
<div> dlg_set_property("timeout-noreset");</div>
<div> dlg_set_property("ka-src");<br>
</div>
<div> dlg_set_property("ka-dst");</div>
</div>
<div>}</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, May 22, 2019 at 8:18
AM Ildar Mukhametzhanov <<a href="mailto:im@voice-on.net" target="_blank">im@voice-on.net</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p class="MsoNormal">Thanks for reply.</p>
<p class="MsoNormal">I tried to use this parameter before,
nothing happens.</p>
<p class="MsoNormal">For example, I've added (I am using
kamailio v5.2.2):</p>
<p class="MsoNormal">modparam("dialog", "ka_timer", 10)</p>
<p class="MsoNormal">Log samples:</p>
<p class="MsoNormal">May 22 13:56:10 Dev-Deb9
/usr/sbin/kamailio[20526]: NOTICE: {2 2 INVITE
s7awvYSXZDFsaCH9BylvKA..} acc [acc.c:279]:
acc_log_request(): ACC: transaction answered:
timestamp=1558526170;method=INVITE;from_tag=357d5638;to_tag=y2knl0os65;call_id=s7awvYSXZDFsaCH9BylvKA..;code=200;reason=Ok</p>
<p class="MsoNormal">...</p>
<p class="MsoNormal">May 22 13:57:22 Dev-Deb9
rtpengine[2026]: INFO: [s7awvYSXZDFsaCH9BylvKA..]: Closing
call due to timeout</p>
<p class="MsoNormal">May 22 13:57:22 Dev-Deb9
rtpengine[2026]: INFO: [s7awvYSXZDFsaCH9BylvKA..]: Final
packet stats:</p>
<p class="MsoNormal">...</p>
<p class="MsoNormal">And nothing relevant since that time. </p>
<p class="MsoNormal">Dialog still considered as active, and
I see no OPTIONS packets within this dialog (at the
moment: May 22 14:07:36).</p>
<p class="MsoNormal">What else I suppose to know about it?</p>
<p class="MsoNormal">Thanks in advance.</p>
<p><br>
</p>
<div class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520moz-cite-prefix">22.05.2019
14:27, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Probing caller/callee periodically, <a href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.ka_timer" target="_blank">https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.ka_timer</a><br>
</div>
<div>A maximum dialog timeout won't hurt, <a href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.default_timeout" target="_blank">https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.default_timeout</a></div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, May 22, 2019
at 5:08 AM Ildar Mukhametzhanov <<a href="mailto:im@voice-on.net" target="_blank">im@voice-on.net</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello!</p>
<p>I am using dialog+acc modules to write CDRs in
kamailio. <br>
</p>
<p>Everything works great except one test.</p>
<p>During active call I switched off both UACs
preventing them to send BYE. <br>
</p>
<p>Rtpengine reported about call interruption, but
kamailio thinks that this call is in-progress for
a long time. <br>
</p>
<p>What is the right way to make kamailio know about
calls interrupted without BYE.<br>
</p>
<p><br>
</p>
<p>Thanks.<br>
</p>
<div class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520gmail-m_-4002013140273422382moz-signature">--
<br>
Sincerely,<br>
<b>Ildar Mukhametzhanov</b><br>
Head of software development<br>
VoiceON Telecom Services GmbH<br>
<a href="mailto:im@voice-on.net" target="_blank">im@voice-on.net</a><br>
t. +49 30 398 20 500-77 </div>
</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>
<br>
<fieldset class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520moz-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>
<div class="gmail-m_-1679390964891469346gmail-m_-4044753174168440520moz-signature"><br>
</div>
</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>
<br>
<fieldset class="gmail-m_-1679390964891469346mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-1679390964891469346moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-1679390964891469346moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-1679390964891469346moz-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>
<div class="gmail-m_-1679390964891469346moz-signature">-- <br>
<br>
Sincerely,<br>
<b>Ildar Mukhametzhanov</b><br>
Head of software development<br>
VoiceON Telecom Services GmbH<br>
<a href="mailto:im@voice-on.net" target="_blank">im@voice-on.net</a><br>
t. +49 30 398 20 500-77 </div>
</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>