<div><div><div dir="auto">Hi Cyrille,</div></div><div dir="auto"><br></div><div dir="auto">As Alex pointed, if you could share more info it would help try to identify the cause. </div><div dir="auto"><br></div><div dir="auto">Here is one possible guess:</div><div dir="auto"><br></div><div dir="auto">Are you replicating dialogs vía DMQ by any chance? I have run into ghost dialogs in the past and they were narrowed down to being replicated via DMQ from another node, and that was caused in the first place because of a restart of kamailio or a sudden problem etc., no other node would own those dialogs so the timeout timers would not apply, and the restarted/problematic node has no way to know that he owned them in the first place, leaving them orphaned for ever blablabla... </div></div><div><div dir="auto"><br></div><div dir="auto">Joel. </div><div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jan 19, 2019 at 15:53 Alex Balashov <<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cyrille,<br>
<br>
1. What happens when you try to kill it with dlg.end_dlg?<br>
<br>
2. Without having a signalling capture and knowing what the messaging<br>
and the state transitions of this dialog look like, it's very hard to<br>
speculate how such a dialog might have slipped through the cracks of the<br>
dialog module's state machine.<br>
<br>
-- Alex<br>
<br>
On Thu, Jan 17, 2019 at 08:25:45PM +0100, Cyrille Demaret wrote:<br>
<br>
> Hi,<br>
> <br>
>  <br>
> <br>
> I'm running Kamailio 5.1.4 and I have some problem with some random dialogs<br>
> sometimes staying in early state and never ends until I restart Kamailio.<br>
> <br>
>  <br>
> <br>
> According to the init_ts, this dialog is there since 11/01/2019.<br>
> <br>
>  <br>
> <br>
> *     Do you have an idea how I can diagnose this problem?<br>
> *     Is there a way to kill these dialogs? I have tried with<br>
> "dlg.end_dlg" but It seems it's not possible to kill dialogs in early<br>
> states.<br>
> <br>
>  <br>
> <br>
> {<br>
> <br>
>         h_entry: 3382<br>
> <br>
>         h_id: 4069<br>
> <br>
>         call-id: d6e6de79-7d55-486f-889f-01b05c003411<br>
> <br>
>         from_uri: <a href="mailto:sip%3A0037xxxxxxxxxxx@mydomain.com" target="_blank">sip:0037xxxxxxxxxxx@mydomain.com</a><br>
> <br>
>         to_uri: <a href="mailto:sip%3A1234@mydomain.com" target="_blank">sip:1234@mydomain.com</a><br>
> <br>
>         state: 2<br>
> <br>
>         start_ts: 0<br>
> <br>
>         init_ts: 1547195739<br>
> <br>
>         timeout: 0<br>
> <br>
>         lifetime: 43200<br>
> <br>
>         dflags: 1536<br>
> <br>
>         sflags: 0<br>
> <br>
>         iflags: 0<br>
> <br>
>         caller: {<br>
> <br>
>                 tag: a909d6fa-cee9-44ac-ad76-3697fcd5cb0e<br>
> <br>
>                 contact:<br>
> <a href="mailto:sip%3Aasterisk@192.168.102.20" target="_blank">sip:asterisk@192.168.102.20</a>:5080;alias=192.168.102.20~5080~1<br>
> <br>
>                 cseq: 7362<br>
> <br>
>                 route_set: <br>
> <br>
>                 socket: udp:<a href="http://192.168.102.10:5060" rel="noreferrer" target="_blank">192.168.102.10:5060</a><br>
> <br>
>         }<br>
> <br>
>         callee: {<br>
> <br>
>                 tag: <br>
> <br>
>                 contact: <br>
> <br>
>                 cseq: <br>
> <br>
>                 route_set: <br>
> <br>
>                 socket: <br>
> <br>
>         }<br>
> <br>
>         profiles: {<br>
> <br>
>                 {<br>
> <br>
>                         caller: <a href="mailto:sip%3A0037xxxxxxxxxxx@mydomain.com" target="_blank">sip:0037xxxxxxxxxxx@mydomain.com</a><br>
> <br>
>                 }<br>
> <br>
>                 {<br>
> <br>
>                         callee: <a href="mailto:sip%3A1234@mydomain.com" target="_blank">sip:1234@mydomain.com</a><br>
> <br>
>                 }<br>
> <br>
>         }<br>
> <br>
>         variables: {<br>
> <br>
>         }<br>
> <br>
> }<br>
> <br>
>  <br>
> <br>
> Thank you for your help.<br>
> <br>
>  <br>
> <br>
> Best regards,<br>
> <br>
>  <br>
> <br>
> Cyrille<br>
> <br>
<br>
> _______________________________________________<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>
<br>
<br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) <br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
_______________________________________________<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>
</div>