<div dir="auto">Hi Thomas. Indeed this is a redis issue which you have to flush. But check if proxy is crashing because that will also wreak havoc with the counters. If for instance I make a change in the config which results in restarting of kamailio proxy I have to reset the redis database as well, or all counters are off.  This may need to be fixed by the Sipwise developers. </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Apr 2021 at 21:16, Matthias Hohl <<a href="mailto:matthias.hohl@telematica.at">matthias.hohl@telematica.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE-AT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="m_2505982035484974717WordSection1"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hallo Thomas,<u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I just know this problem in correlation to redis counter.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">After flush the redisdb counter, it was fine.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I am not sure if a system reboot also clear the redis counter too, but maybe this helps you a bit:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Searching for the problem:<u></u><u></u></span></p><p class="MsoNormal"><code><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"># cat /var/log/ngcp/kamailio-proxy.log | grep -i 'concurrent'</span></code><code><span style="font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"><u></u><u></u></span></code></p><p class="MsoNormal"><code><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"><u></u> <u></u></span></code></p><p class="MsoNormal"><span lang="EN-US">Solution:</span><u></u><u></u></p><p class="MsoNormal"><code><span style="font-size:10.5pt;font-family:Consolas;border:none windowtext 1.0pt;padding:0cm"># redis-cli -n 3 FLUSHDB<u></u><u></u></span></code></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Or try this:<u></u><u></u></span></p><p class="MsoNormal" style="line-height:15.0pt;vertical-align:baseline"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm"># ngcp-dlgcnt-check</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333"><u></u><u></u></span></p><p class="MsoNormal" style="line-height:15.0pt;vertical-align:baseline"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">you will see the list of hanging calls that should be clean</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333"><u></u><u></u></span></p><p class="MsoNormal" style="line-height:15.0pt;vertical-align:baseline"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333"> <u></u><u></u></span></p><p class="MsoNormal" style="line-height:15.0pt;vertical-align:baseline"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm"># ngcp-dlgcnt-check -r</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333"><u></u><u></u></span></p><p class="MsoNormal" style="line-height:15.0pt;vertical-align:baseline"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">You will remove those calls from dialog list and decrease the counters properly.</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#333333"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Lg<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> Thomas Georg via Spce-user <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>> <br><b>Gesendet:</b> Donnerstag, 22. April 2021 13:18<br><b>An:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br><b>Betreff:</b> [Spce-user] Suddenly many SIP-Accounts are "busy" (Concurrent max calls exceeded)<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="DE">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="DE">since 3 hours our customers complain about busy lines (in and outgoing).<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">This happens to customers who have „max concurrent calls“ set.<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">I tried with one customer which definitively did no call during this test and I always got the message „Concurrent max calls[2] exceeded[10]“ until i raised the limit to 10 or above then a call was possible.<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">We recognized that at exactly at 11:00 the answer seizure rate felt from 62% to 55%. Since then we also get complaints.<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">I restarted the system but the problem is still there.<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="DE">We currently set all complaining customers to more concurrent calls, but this should be only a workaround.<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="DE">What can I do to debug this? Is there a possibility to show the „real“ current calls per user/total?<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="DE">Regards<u></u><u></u></span></p><p class="MsoNormal"><span lang="DE">Thomas</span></p></div></div><div lang="DE-AT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word"><div class="m_2505982035484974717WordSection1"><p class="MsoNormal"><span lang="DE"><u></u><u></u></span></p><p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p></div></div>-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" rel="noreferrer" target="_blank">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table border="0" cellspacing="0" cellpadding="0" width="346" style="font-family:Helvetica;width:259.8pt"><tbody><tr><td valign="top" style="padding:0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><br></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman"">Warmest Regards,</div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="color:purple"><a href="https://myrepublic.com.sg/" style="color:purple" target="_blank"><br><img border="0" width="140" height="92" src="https://myrepublic.com.sg/resources/email-signature.png"></a></span><span></span></div></td><td style="padding:0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><b><span style="font-size:10pt;font-family:Arial;color:rgb(127,43,153)">Walter Klomp</span></b><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">Head of Voice & Systems</span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">MyRepublic Limited</span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">T: +65 6816 1120</span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">F: +65 6717 2031</span></div></td></tr><tr><td width="333" colspan="2" style="width:249.75pt;padding:0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""> <span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">MyRepublic Limited</span><span></span></div><div style="font-family:arial,sans-serif;font-size:16px;margin:0in 0in 0.0001pt"><font color="#4d4d4d" face="Arial, sans-serif"><span style="font-size:11.3333px">11 Lorong 3 Toa Payoh Block B Jackson Square</span></font></div><div style="font-family:arial,sans-serif;font-size:16px;margin:0in 0in 0.0001pt"><font color="#4d4d4d" face="Arial, sans-serif"><span style="font-size:11.3333px">#04-11/15 Singapore 319579</span></font></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)"><br></span><span style="color:rgb(77,77,77)"><a href="https://myrepublic.com.sg/" style="color:purple" target="_blank"><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">myrepublic.com.sg</span></a></span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">Follow us on: <a href="https://twitter.com/myrepublic" style="color:purple" target="_blank"><span style="color:rgb(77,77,77)">Twitter</span></a> | <a href="https://facebook.com/myrepublicsg" style="color:purple" target="_blank"><span style="color:rgb(77,77,77)">Facebook</span></a> | <a href="https://www.linkedin.com/company/myrepublic" style="color:purple" target="_blank"><span style="color:rgb(5,99,193)">LinkedIn</span></a></span></div></td></tr></tbody></table><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br></div><table border="0" cellspacing="0" cellpadding="0" width="400" style="font-family:Helvetica;width:259.8pt"><tbody><tr><td valign="top" style="padding:0in"><br></td></tr></tbody></table></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:sans-serif;background-color:rgb(255,255,255)"><font size="1"><span style="font-family:Arial;color:rgb(102,102,102);font-style:italic;vertical-align:baseline;white-space:pre-wrap">The contents of this email and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments without permission of the sender. If you have received this email by mistake, please delete all copies and inform the sender immediately. You may refer to our company's Privacy Policy </span><span style="color:rgb(102,102,102);font-family:Arial;font-style:italic;vertical-align:baseline;white-space:pre-wrap"><a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank">here</a></span><span style="font-family:Arial;color:rgb(102,102,102);font-style:italic;vertical-align:baseline;white-space:pre-wrap">.</span></font></span>