<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>following up as I got some time to look at the code and the
cleanup was done only for state 1 (no replies), your rpc output
shows it was state 2 (1xx replies). I pushed a patch for it with
the commit:</p>
<p> -
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/8fd514f9bb9e819fa6e5880dc229955cafd72494">https://github.com/kamailio/kamailio/commit/8fd514f9bb9e819fa6e5880dc229955cafd72494</a></p>
<p>I will backport it to 5.2 and 5.1, but maybe you have a chance to
test it before.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 18.01.19 10:06, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite"
cite="mid:57ee91ae-9a10-6572-c8e9-c34c26940674@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p>Hello,</p>
<p>they should not stay that long, there are some parameters
related to it, see:</p>
<p> -
<a class="moz-txt-link-freetext"
href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.early_timeout"
moz-do-not-send="true">https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.early_timeout</a></p>
<p>Does it happen that you have the sip trace for this call?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 17.01.19 20:25, Cyrille Demaret
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:00d801d4ae9a$717ef7d0$547ce770$@omail.be">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1312440076;
mso-list-type:hybrid;
mso-list-template-ids:315938156 -1366817210 135004163 135004165 135004161 135004163 135004165 135004161 135004163 135004165;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m running Kamailio
5.1.4 and I have some problem with some random dialogs
sometimes staying in early state and never ends until I
restart Kamailio.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">According to the
init_ts, this dialog is there since 11/01/2019.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="MsoListParagraph"
style="margin-left:0cm;mso-list:l0 level1 lfo1"><span
lang="EN-US">Do you have an idea how I can diagnose this
problem?<o:p></o:p></span></li>
<li class="MsoListParagraph"
style="margin-left:0cm;mso-list:l0 level1 lfo1"><span
lang="EN-US">Is there a way to kill these dialogs? I
have tried with “dlg.end_dlg” but It seems it’s not
possible to kill dialogs in early states.<o:p></o:p></span></li>
</ul>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">{<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> h_entry: 3382<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> h_id: 4069<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> call-id:
d6e6de79-7d55-486f-889f-01b05c003411<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> from_uri: <a
class="moz-txt-link-freetext"
href="sip:0037xxxxxxxxxxx@mydomain.com"
moz-do-not-send="true">sip:0037xxxxxxxxxxx@mydomain.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> to_uri: <a
class="moz-txt-link-freetext"
href="sip:1234@mydomain.com" moz-do-not-send="true">sip:1234@mydomain.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> state: 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> start_ts: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> init_ts:
1547195739<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> lifetime:
43200<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> dflags: 1536<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> sflags: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> iflags: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> caller: {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> tag:
a909d6fa-cee9-44ac-ad76-3697fcd5cb0e<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">
contact: <a class="moz-txt-link-freetext"
href="sip:asterisk@192.168.102.20:5080;alias=192.168.102.20~5080~1"
moz-do-not-send="true">sip:asterisk@192.168.102.20:5080;alias=192.168.102.20~5080~1</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> cseq:
7362<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">
route_set: <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> socket:
<a class="moz-txt-link-freetext"
href="udp:192.168.102.10:5060" moz-do-not-send="true">udp:192.168.102.10:5060</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> callee: {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> tag: <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> contact:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> cseq:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> route_set:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> socket:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> profiles: {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">
caller: <a class="moz-txt-link-freetext"
href="sip:0037xxxxxxxxxxx@mydomain.com"
moz-do-not-send="true">sip:0037xxxxxxxxxxx@mydomain.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">
callee: <a class="moz-txt-link-freetext"
href="sip:1234@mydomain.com" moz-do-not-send="true">sip:1234@mydomain.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span>}<o:p></o:p></p>
<p class="MsoNormal"> variables: {<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for your
help.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Cyrille<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a></pre>
</blockquote>
<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 - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>