[Home]

Summary:ASTERISK-08826: Agent in queue unavailable?
Reporter:Patrick Luk (pluk)Labels:
Date Opened:2007-02-17 06:09:12.000-0600Date Closed:2007-02-26 11:11:35.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Trying to set a simple queue pool of 2 users and when I do a queue status...

Agent/6001 (Unavailable) has taken no calls yet
Agent/6002 (Unavailable) has taken no calls yet

basically, when I call queue 7000 (via voice menu from zaptel channel 1 or internal), it gives me the background music and don't do a "ringall"

When I change to ring a station like 6000, it is fine.
Comments:By: Patrick Luk (pluk) 2007-02-17 06:21:40.000-0600

It also gives on the console...

WARNING 4476: channel.c:1959 ast_waitfordigit_full: Unexpected control subclass 2

By: Patrick Luk (pluk) 2007-02-17 22:12:17.000-0600

I'm using Grandstream GXP2000 phones and an OpenVox 4FXS cards.

By: Serge Vecher (serge-v) 2007-02-19 11:59:07.000-0600

post a complete console log of an incoming call as well as your queues.conf

By: Joshua C. Colp (jcolp) 2007-02-21 22:11:33.000-0600

Can you also confirm that those Agents are also logged in?

By: Patrick Luk (pluk) 2007-02-24 19:30:45.000-0600

(queues.conf)

;!
;! Automatically generated configuration file
;! Filename: queues.conf (/etc/asterisk/queues.conf)
;! Generator: Manager
;! Creation Date: Sun Feb 18 03:28:14 2007
;!
[general]
;
; Global settings for call queues
;
; Persistent Members
;    Store each dynamic member in each queue in the astdb so that
;    when asterisk is restarted, each member will be automatically
;    read into their recorded queues. Default is 'yes'.
;
persistentmembers = yes
;
; AutoFill Behavior
;    The old/current behavior of the queue has a serial type behavior
;    in that the queue will make all waiting callers wait in the queue
;    even if there is more than one available member ready to take
;    calls until the head caller is connected with the member they
;    were trying to get to. The next waiting caller in line then
;    becomes the head caller, and they are then connected with the
;    next available member and all available members and waiting callers
;    waits while this happens. The new behavior, enabled by setting
;    autofill=yes makes sure that when the waiting callers are connecting
;    with available members in a parallel fashion until there are
;    no more available members or no more waiting callers. This is
;    probably more along the lines of how a queue should work and
;    in most cases, you will want to enable this behavior. If you
;    do not specify or comment out this option, it will default to no
;    to keep backward compatibility with the old behavior.
;
autofill = yes
;
; Monitor Type
;    By setting monitor-type = MixMonitor, when specifying monitor-format
;    to enable recording of queue member conversations, app_queue will
;    now use the new MixMonitor application instead of Monitor so
;    the concept of "joining/mixing" the in/out files now goes away
;    when this is enabled. You can set the default type for all queues
;    here, and then also change monitor-type for individual queues within
;    queue by using the same configuration parameter within a queue
;    configuration block. If you do not specify or comment out this option,
;    it will default to the old 'Monitor' behavior to keep backward
;    compatibility.
;
monitor-type = MixMonitor

[6003]
fullname = Impressio
strategy = ringall
timeout =
wrapuptime =        
autofill = no
autopause = no
maxlen = 0    
joinempty = no
leavewhenempty = no              
reportholdtime = no
musicclass = default
member = Agent/6000
member = Agent/6001

By: Patrick Luk (pluk) 2007-02-24 19:38:10.000-0600

How do I make them logged in? The phones are connected to the AsteriskNow server and both grandstream can call each other extension without problem.

Is there something that I need to do to make them into the queue?

By: Patrick Luk (pluk) 2007-02-24 19:44:23.000-0600

(Incoming call console)
(No phone ringing)

Starting simple swithc on ?Zap/1-1?
Executing [s@DID_trunk_1:1] Goto("Zap/1-1", "default|6003|1") in new stack
Goto (default,6003,1)
Executing [6003@default:1] Queue("Zap/1-1", "6003") in new stack
Started music on hold, class ?default?, on Zap/1-1
[Feb 24 20:38:42] WARNING[3076]: channel.c:1959 ast_waitfordigit_full: Unexpected control subclass ?2?
[Feb 24 20:38:48] WARNING[3076]: channel.c:1959 ast_waitfordigit_full: Unexpected control subclass ?2?
[Feb 24 20:38:54] WARNING[3076]: channel.c:1959 ast_waitfordigit_full: Unexpected control subclass ?2?
Stopped music on hold on Zap/1-1
User disconnected from queue 6003 when they almost made it
Spawn extension (default, 6003, 2) exited non-zero on ?Zap/1-1?
Hungup ?Zap/1-1?

By: Serge Vecher (serge-v) 2007-02-26 10:26:05.000-0600

please do not use the bug-tracker for asking questions, this is not a support forum. Freely available documentation reveals that "show agents" will show the current status of the agent. Also, if you are using AsteriskNOW, please file the bugs appropriately.

By: James Lyons (james) 2007-02-26 11:11:34.000-0600

Currently there is not a way to add a call to AgentCallbackLogin or AgentLogin from the GUI.

In order to login an agent, you will need to set up an AgentLogin or AgentCallbackLogin extension in the dialplan (extensions.conf) probably in the [default] context

something that'll look like this

[default]
;
;
exten => 6500,1,AgentCallbackLogin