<div dir="ltr">I would like to mention one more thing. Documentation says: <div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">The dialog is automatically destroyed when a </span><span class="gmail-quote" style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">“<span class="gmail-quote">BYE</span>”</span><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify"> is received. In case of no </span><span class="gmail-quote" style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">“<span class="gmail-quote">BYE</span>”</span><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">, the dialog lifetime is controlled via the default timeout (see </span><span class="gmail-quote" style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">“<span class="gmail-quote">default_timeout</span>”</span><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify"> - </span><a class="gmail-xref" href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.default_timeout" title="6.6. default_timeout (integer)" style="color:rgb(4,31,197);text-decoration-line:none;font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">Section 6.6, “<code class="gmail-varname">default_timeout</code> (integer)”</a><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">) and custom timeout (see </span><span class="gmail-quote" style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">“<span class="gmail-quote">timeout_avp</span>”</span><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify"> - </span><a class="gmail-xref" href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.timeout_avp" title="6.5. timeout_avp (string)" style="color:rgb(4,31,197);text-decoration-line:none;font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">Section 6.5, “<code class="gmail-varname">timeout_avp</code> (string)”</a><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:15px;text-align:justify">). The dialog timeout is reset each time a sequential request is processed.</span>  <br><br>But in my case i can see on wireshark BYE received from caller and callee side but when running kamctl dialog show command the dialog is still on the list.<br><br>Best regards,<br>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pt., 24 kwi 2020 o 23:21 Voip support <<a href="mailto:voipexpert0@gmail.com">voipexpert0@gmail.com</a>> napisał(a):<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 dir="ltr">Hello,<div>i am using dialog module in-memory to get all dialogs and show in a website.<br>I use for this kamctl dialog show which is run quite often for autorefresh.<br><br>I noticed that some calls get hung on kamailio while on caller side and callee side calls are disconnected.<br><br>I captured a wireshark trace and for same caller IP i get many good calls as well some bad calls (not disconnected properly). When comparing the BYE packets i could not notice any difference.<br><br>However in the "BAD" calls it looks like the BYE from caller get stuck on kamailio and is not sent/forwarded to callee side. I get BYE retransmissions from caller and all BYE requests got stuck on kamailio.<br><br>After few seconds Callee side sends BYE and that BYE also get stuck.<br><br>I am wondering how to trace this issue (differently than taking a wireshark trace) as i dont see any difference in the good BYE and the bad BYE.<br><br>It looks like for any reason from time to time BYE is not forwarded to the other side and when the other side sents BYE its also not forwarded to call initiator.<br><br>Please give me a clue how to continue on this.<br><br>I am using dispatcher module to send the calls.<br><br>Best regards<br>Tom</div></div>
</blockquote></div>