[Home]

Summary:ASTERISK-03393: Cannot log Agent off
Reporter:tgj (tgj)Labels:
Date Opened:2005-01-31 02:00:09.000-0600Date Closed:2011-06-07 14:10:32
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using CallBackAgentLogin it is not possible to log the agent off. 'show agents' will show that the agent is logged off but 'show queues' will show that the agent is logged in. The queue will still accept callers.

I am now using dynamic agents and that works fine.

****** STEPS TO REPRODUCE ******

1. log in an agent using CallBackAgentLogin
2. log the agent off
3. the queue is still accepting calls


****** ADDITIONAL INFORMATION ******

Queues.conf:
[general]
persistentmembers = yes

[reception]
musiconhold = default
strategy = leastrecent
timeout = 15
retry = 5
maxlen = 0
announce-frequency = 90
announce-holdtime = yes
joinempty = no
member => Agent/260

[general]
persistentagents=yes

Agents.conf:
[agents]
ackcall=no
musiconhold => default
group=1
agent => 260,1234,Receptionist
Comments:By: Mark Spencer (markster) 2005-01-31 21:40:15.000-0600

Logging off an agent does not cause them to be removed from the queue.  Unless you are running CVS head, "joinempty" will not help you in this case.  If you wish to dynamically add/remove members of a queue you will need to use AddQueueMember / RemoveQueueMember or alternatively you can update to CVS head and the beahvior should be as you are expecting it.