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