[asterisk-bugs] [Asterisk 0012754]: Autologoff is not working properly

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 29 16:40:59 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12754 
====================================================================== 
Reported By:                Rodrigo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12754
Category:                   Channels/chan_agent
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-29-2008 10:01 CDT
Last Modified:              05-29-2008 16:40 CDT
====================================================================== 
Summary:                    Autologoff is not working properly
Description: 
Hello,
 
I have one asterisk 1.4.20.1 setup with one queue and various agents, in
which the autologoff parameter is set in agents.conf

The problem is that only logs off the agent if and only if the caller
hangs up while the call is at the agent; if the call goes through the queue
and passes to the next agent, then it does not log off anybody.

I think it could be some trouble relationed with timing of the
queue/autologoff but I have been making throughout testing with no final
evidence.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 05-29-08 16:40  
---------------------------------------------------------------------- 
The autologoff feature in chan_agent is a bit finicky, but luckily the
wording used in the configuration file is mostly accurate. 

"This is how long the phone has to ring with no answer before the agent is
automatically logged off"

This is accurate in the sense that *only* the time that the agent's phone
is actually ringing is taken into account towards auto logoff. It also is
misleading since the amount of time the phone rings has to be greater than
the amount of time specified by autologoff in order for the agent to be
logged off automatically, and also the agent will only be logged out when
some sort of "event" causes the agent's phone to stop ringing (i.e. the
queue moves on to a different agent or the caller hangs up).

Now, it may be that you are perfectly aware of the autologoff
implementation and if you were, I apologize, but you didn't give a lot of
details here. Two very important details would be the queue's timeout value
specified in queues.conf, and the other would be the value specified in
agents.conf for autologoff. If the timeout in queues.conf is less than or
equal to the autologoff time in agents.conf, then I would not be surprised
by the behavior you are seeing. On the other hand, if your autologoff time
is less than the queues.conf timeout, then the agent should be logged off
automatically if the call passes through to the next agent. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-29-08 16:40  putnopvut      Note Added: 0087523                          
======================================================================




More information about the asterisk-bugs mailing list