<div dir="ltr"><div>Hi Allesandro</div><div>You need to check in cdr.log to see if your problem is the same. There are different reasons why mediator may stop. I haven't solved it yes as I am not sure how to remove the offending callid. But you may have a different reason for mediator stopping so best to first dig down on that.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 11, 2019 at 12:49 PM Alessandro Romano <<a href="mailto:alessandro.romano@rpeng.it">alessandro.romano@rpeng.it</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 lang="IT"><div class="gmail-m_-3487909263606644260WordSection1"><p class="MsoNormal"><span>Hi<u></u><u></u></span></p><p class="MsoNormal"><span>I’ve the same problem do you have solved it ?<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>BR<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><b>Da:</b> Spce-user <<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>> <b>Per conto di </b>qabane me<br><b>Inviato:</b> lunedì 11 marzo 2019 08.51<br><b>A:</b> Andrew Pogrebennyk <<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>><br><b>Cc:</b> Spce-user <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>><br><b>Oggetto:</b> Re: [Spce-user] mediator stopped<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi Andrew<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Could you give me a hint as to how to remove this from the redis DB. I have done a bit of searching on Redis but am pretty clueless on that and can't figure it out..<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Cheers<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, Mar 6, 2019 at 2:17 PM qabane me <<a href="mailto:qabaneitsolutions@gmail.com" target="_blank">qabaneitsolutions@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hi Andrew<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Ah that explains why I don't see it in the DB. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I am not sure what to look for in the kamailio.proxy log other than that caller id? there certainly isn't anything today and we have already purged older ones. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I also have no idea where that long callid comes from and all seems to be running fine otherwise. But it would be swell of course if we can actually find what caused it.<u></u><u></u></p></div><div><p class="MsoNormal">In the meantime - aside from the cause, how do I remove it :-) ?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, Mar 6, 2019 at 1:42 PM Andrew Pogrebennyk <<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal">On 3/6/19 10:58 AM, qabane me wrote:<br>> Hi<br>> <br>> Ok I have done a bit of digging as follows:<br>> <br>>  select * from cdr WHERE call_id LIKE<br>> '%$116d5af1-b6d4-1237-df83-a6958035e26f%';<br>> <br>> Under the assumption that I will find the offending call there and once<br>> I do, get rid of it. The result is empty though so clearly I am not<br>> looking in the right place?<br><br>Mediator works with acc records so you don't get a CDR if there is an<br>error fetching acc.<br>The acc records are stored in the redis DB with index 21 in most recent<br>versions. The mediator also tries to correlate the start/stop records<br>from redis with those from mysql, in case the user has switched the<br>engine or just updated the system. In that case, you might get some<br>errors in the cdr.log which aren't actually a problem, but in your case<br>my wild guess is that some system misconfiguration is causing such a<br>huge call-id suffix that it leads to inaccurate SQL query when trying to<br>fetch acc.<br><br>Can you check the kamailio-proxy.log and/or acc records and tell us how<br>in your setup, you obtained such a long call-id<br>116d5af1-b6d4-1237-df83-a6958035e26f_b2b-1_b2b-1_b2b-1_b2b-1....etc<br>because there is probably a loop going on somewhere in the system, e.g.<br>circular call forwarding involving several users. I am especially<br>interested in the kamailio-proxy.log because in most cases we do manage<br>to detect and break the loop in case of misconfiguration.<br><br>BR,<br>Andrew<u></u><u></u></p></blockquote></div></blockquote></div></div></div></blockquote></div>