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