<head></head><body>Can you file a JIRA with your debug logs please?<br><br><div class="nylas-n1-signature">Ítalo Rossi<div>italo@freeswitch.org</div><div>IRC chat.freenode.net #freeswitch #freeswitch-dev</div><div>Bugs? https://freeswitch.org/jira</div><div>Docs? https://freeswitch.org/jira</div><div>Chat? https://hipchat.freeswitch.org/gUdAgy0m6</div><div><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Mar 24 2016, at 1:32 pm, TNTClaus <tntclaus@gmail.com> wrote:
<br>
<div dir="ltr"><div><div>Hi. <br><br>I faced a problem with mod call centre strange
behaviour. I
have a queue with the strategy "ring all", queue has got 30 agents, all
of them always have status available, but only 6 agents can be really
active (e.g.: registered and connected) at a time. <br><br>Those 6 simultaneously
answer calls (e.g. can answer 200 on the same INVITE request before CANCEL arrives). <b>Sometimes an agent might get stuck in the state "In a
queue call"</b> while he is not in a call. In that case waiting agent stops getting calls. <br><br>CLI command:<br><br>> <i>callcenter_config agent set state <agent> waiting</i><br><br></div><div>changes
state of an agent at DB, but call center still won't offer calls to
him. The only fix I found is to reload mod_callcenter, but during
reload all active calls would be dropped.<br></div><div><br>Calls are
coming one by one (maximum call rate I had ever seen at this site was
~600 calls/hour). But I didn't notice any correlation with the call
rate. Agent may get stuck at any time of day with any call rate ranging
between ~150 calls/hour to 400 calls/hour.<br><br>Most of calls last from 5 to 20 seconds.<br><br>I tried to switch from sqlite to odbc postgresql, but that changed nothing. Currently switch is connected to ODBC Postgresql. <br><br></div><div><b>OS version:</b><br>Linux local.pbx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux<br></div><div><br></div><div><b>FS version:</b><br>FreeSWITCH version: 1.6.6+git~20160111T201612Z~d2d0b3283a~64bit (git d2d0b32 2016-01-11 20:16:12Z 64bit)<br><br><b>sqlite package:</b><br>llibsqlite3-0:amd64 3.8.7.1-1+deb8u1 amd64 SQLite 3 shared library<br><br></div><div><b>PostgreSQL / ODBC packages:</b><br>odbc-postgresql:amd64 1:09.03.0300-1 amd64 ODBC driver for PostgreSQL<br>postgresql-9.4 9.4.6-0+deb8u1 amd64 object-relational SQL database, version 9.4 server<br><br><br></div><div><b>XML configs:<br><br></b></div><b>callcenter/queues/queue.xml:<br></b><queue name="dispatchers"><br> <param name="discard-abandoned-after" value="300"/><br> <param name="max-wait-time" value="0"/><br> <param name="max-wait-time-with-no-agent" value="120"/><br> <param name="moh-sound" value="$${hold_music}"/><br> <param name="strategy" value="ring-all"/><br> <param name="tier-rule-no-agent-no-wait" value="false"/><br> <param name="tier-rule-wait-multiply-level" value="true"/><br> <param name="tier-rule-wait-second" value="300"/><br> <param name="tier-rules-apply" value="false"/><br> <param name="time-base-score" value="queue"/><br></queue><b><br><br></b></div><b>callcenter/agents/agent.xml</b><br> <agent name="agent@local" type="callback" contact="user/agent@local"<br> status="Available" max-no-answer="0" wrap-up-time="1" reject-delay-time="1" busy-delay-time="1"<br> no-answer-delay-time="1"/><b><br></b><div><br></div>that's a typical agent. They are all same except name and contact attributes.<br><br><b>callcenter/tiers/tier.xml</b><br><tier agent="agent@local" queue="dispatchers" level="1" position="1"/></div>
</blockquote></body>