Hi Atis and friends,<br><br>I think it has direct relation with calls not being delivered to available agents, as you can see at following lines, Iīve confirmed i<i>n situ</i> there were real available agents:<br><br><font size="1">[root@astpbx apps]# asterisk -rx "queue show"<br>
QUEUE1 has 0 calls (max 100) in 'rrmemory' strategy (0s holdtime), W:1, C:722, A:13, SL:83.7% within 0s<br> Members:<br> Local/630@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet<br>
Local/629@call-to-agent/n with penalty 2 (dynamic) (In use) has taken no calls yet<br> Local/627@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet<br> Local/626@call-to-agent/n with penalty 2 (dynamic) (In use) has taken 1 calls (last was 2040 secs ago)<br>
Local/625@call-to-agent/n with penalty 2 (dynamic) (In use) has taken no calls yet<br> Local/624@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet<br> Local/623@call-to-agent/n with penalty 2 (dynamic) (In use) has taken no calls yet<br>
Local/622@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet<br> Local/614@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken no calls yet<br> Local/611@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 3 calls (last was 1045 secs ago)<br>
Local/610@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken no calls yet<br> Local/609@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken no calls yet<br> Local/641@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 3 calls (last was 1207 secs ago)<br>
Local/605@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 8 calls (last was 351 secs ago)<br> Local/601@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 3 calls (last was 450 secs ago)<br>
No Callers<br><br>QUEUE2 has 0 calls (max 100) in 'rrmemory' strategy (0s holdtime), W:4, C:249, A:1, SL:87.6% within 0s<br> Members:<br></font><div style="text-align: center;"><font size="1"><i>[agents' status are similar to QUEUE5]</i></font><font size="1"></font><br>
</div><font size="1"> No Callers<br><br>QUEUE3 has 0 calls (max 100) in 'rrmemory' strategy (3s holdtime), W:3, C:582, A:6, SL:84.7% within 0s<br> Members:<br></font><div style="text-align: center;"><font size="1"><i>[agents' status are similar to QUEUE5]</i></font><font size="1"></font><br>
</div><font size="1"> No Callers<br><br>QUEUE4 has 0 calls (max 100) in 'rrmemory' strategy (0s holdtime), W:3, C:254, A:9, SL:78.3% within 0s<br> Members:<br></font><div style="text-align: center;"><font size="1"><i>[agents' status are similar to QUEUE5]</i></font><br>
</div><font size="1"> No Callers<br><br><br>QUEUE5 has 2 calls (max 100) in 'rrmemory' strategy (7s holdtime), W:1, C:531, A:6, SL:79.3% within 0s<br> Members:<br><b> Local/630@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken no calls yet</b><br>
Local/629@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 1 calls (last was 1253 secs ago)<br><b> Local/627@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken 9 calls (last was 795 secs ago</b><br>
Local/626@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 4 calls (last was 251 secs ago)<br> Local/625@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 2 calls (last was 283 secs ago)<br>
<b> Local/624@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken 5 calls (last was 264 secs ago</b><br> Local/623@call-to-agent/n with penalty 1 (dynamic) (In use) has taken 1 calls (last was 15 secs ago)<br>
<b> Local/622@call-to-agent/n with penalty 1 (dynamic) (Not in use) has taken no calls yet<br> Local/614@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet</b><br> Local/611@call-to-agent/n with penalty 2 (dynamic) (In use) has taken 1 calls (last was 3376 secs ago)<br>
<b> Local/610@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet<br> Local/609@call-to-agent/n with penalty 2 (dynamic) (Not in use) has taken no calls yet</b><br> Local/641@call-to-agent/n with penalty 2 (dynamic) (In use) has taken no calls yet<br>
Local/605@call-to-agent/n with penalty 2 (dynamic) (In use) has taken 3 calls (last was 1162 secs ago)<br> Local/601@call-to-agent/n with penalty 2 (dynamic) (In use) has taken 2 calls (last was 2046 secs ago)<br>
Callers:<br><b> 1. Zap/76-1 (wait: 0:28, prio: 0)<br> 2. Zap/63-1 (wait: 0:04, prio: 0)</b><br><br>QUEUE6 has 0 calls (max 100) in 'rrmemory' strategy (0s holdtime), W:4, C:360, A:0, SL:84.2% within 0s<br>
Members:<br></font><div style="text-align: center;"><font size="1"><i>[agents' status are similar to QUEUE5]</i></font><font size="1"></font><br></div><font size="1"> No Callers<br><br>QUEUE7 has 0 calls (max 100) in 'rrmemory' strategy (0s holdtime), W:3, C:215, A:1, SL:82.8% within 0s<br>
Members:<br></font><div style="text-align: center;"><font size="1"><i>[agents' status are similar to QUEUE5]</i></font><br></div><font size="1"> No Callers<br><br><font size="2">And problems continues for a while...</font><br>
<br>[root@astpbx apps]# asterisk -rx "queue show" |grep wait<br> 1. Zap/76-1 (wait: 0:31, prio: 0)<br> 2. Zap/63-1 (wait: 0:07, prio: 0)<br>[root@astpbx apps]# asterisk -rx "queue show" |grep wait<br>
1. Zap/76-1 (wait: 0:38, prio: 0)<br> 2. Zap/63-1 (wait: 0:14, prio: 0)<br> 1. Zap/80-1 (wait: 0:03, prio: 0)<br>[root@astpbx apps]# asterisk -rx "queue show" |grep wait<br> 1. Zap/76-1 (wait: 0:42, prio: 0)<br>
2. Zap/63-1 (wait: 0:18, prio: 0)<br> 1. Zap/80-1 (wait: 0:07, prio: 0)<br></font><br>Looking at the related logs I see:<br><br><font size="1">1214848558|1214848504.226198|QUEUE5|NONE|ENTERQUEUE||1XYZABCD<br>1214848573|1214848504.226198|QUEUE5|Local/604@call-to-agent/n|RINGNOANSWER|0<br>
.<br>.<br>1214848712|1214848504.226198|QUEUE5|Local/605@call-to-agent/n|RINGNOANSWER|0<br>1214848712|1214848504.226198|QUEUE5|Local/604@call-to-agent/n|RINGNOANSWER|0<br>1214848713|1214848504.226198|QUEUE5|NONE|ABANDON|1|2|155<br>
</font><br>The call has ringed: <br><font size="1">604 - 92 times, 605 - 88; 606 - 88, 609 - 88, 610 - 88, 611 - 9, 614 - 88, 622 - 88, 623 - 9; 624 - 88; 627 - 27; 628 - 88; 630 - 64 times.<br><br><font size="2">I will very appreciate any comment you have, it would be possible that agent (or device) status are not being updated correctly? <br>
<br>Thanks in advance,<br><br>Elder Arohuanca,<br>Cell Phone: +51 1989541408<br></font><br></font><br><div class="gmail_quote">On Thu, Jun 19, 2008 at 5:15 PM, Atis Lezdins <<a href="mailto:atis@iq-labs.net" target="_blank">atis@iq-labs.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>On Thu, Jun 19, 2008 at 10:06 PM, Chento Arohuanca <<a href="mailto:earohuanca@gmail.com" target="_blank">earohuanca@gmail.com</a>> wrote:<br>
> Just about 30 minutes that I canīt get real information from my Asterisk<br>
> box. All agents seem to be available but is not true:<br>
><br>
><br>
> QUEUE_01 has 0 calls (max 100) in 'rrmemory' strategy (0s holdtime), W:4,<br>
> C:0, A:0, SL:0.0% within 0s<br>
> Members:<br>
> Local/630@call-to-agent/n with penalty 1 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/629@call-to-agent/n with penalty 1 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/627@call-to-agent/n with penalty 1 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/625@call-to-agent/n with penalty 1 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/624@call-to-agent/n with penalty 1 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/622@call-to-agent/n with penalty 1 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/620@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/614@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/644@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/643@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/609@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/641@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/605@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
> Local/601@call-to-agent/n with penalty 2 (dynamic) (Not in use) has<br>
> taken no calls yet<br>
><br>
><br>
> [root@pbx asterisk]# asterisk -rx "core show channels"<br>
> Channel Location State Application(Data)<br>
> SIP/641-08cef808 (None) Up Bridged<br>
> Call(Local/641@call-to<br>
> Local/641@call-to-ag 641@call-to-agent:10 Up Dial(SIP/641|120|rtT)<br>
> Local/641@call-to-ag s@call-to-agent:1 Up Bridged Call(Zap/65-1)<br>
> Zap/65-1 s@cola-admin11:1 Up Queue(QUEUE_01|tT|||1800)<br>
> Zap/64-1 s@horario-valido-tv: Up (None)<br>
> SIP/625-09766788 (None) Up Bridged<br>
> Call(Local/625@call-to<br>
> Local/625@call-to-ag 625@call-to-agent:10 Up Dial(SIP/625|120|rtT)<br>
> Local/625@call-to-ag s@call-to-agent:1 Up Bridged Call(Zap/66-1)<br>
> Zap/66-1 s@cola-admin4:1 Up Queue(QUEUE_02|tT|||1800)<br>
> SIP/620-09358088 (None) Up Bridged<br>
> Call(Local/620@call-to<br>
> Local/620@call-to-ag 620@call-to-agent:10 Up Dial(SIP/620|120|rtT)<br>
> Local/620@call-to-ag s@call-to-agent:1 Up Bridged Call(Zap/63-1)<br>
> Zap/63-1 s@cola-admin13:1 Up Queue(QUEUE_01|tT|||1800)<br>
> Zap/94-1 (None) Up Bridged<br>
> Call(SIP/623-b2b1d070)<br>
> SIP/623-b2b1d070 82714269@total:3 Up<br>
> Dial(Zap/g3/2714269||tTrRS)<br>
> SIP/615-08a892c0 (None) Up Bridged<br>
> Call(Local/615@call-to<br>
><br>
> Please help me with this issue!<br>
><br>
<br>
</div></div>Local channels don't support state information in Asterisk 1.4. For<br>
that you either need to use 1.6 or backport of state_interface for<br>
1.4. Then you have to set call-limit for peers, and specify<br>
state_interface device when logging in agents.<br>
<br>
For more information please search for "asterisk queue state", as this<br>
has been discussed several times.<br>
<br>
Regards,<br>
Atis<br>
<br>
--<br>
Atis Lezdins,<br>
VoIP Project Manager / Developer,<br>
<a href="mailto:atis@iq-labs.net" target="_blank">atis@iq-labs.net</a><br>
Skype: atis.lezdins<br>
Cell Phone: +371 28806004<br>
Cell Phone: +1 800 7300689<br>
Work phone: +1 800 7502835<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>