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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 9 10:03:19 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12754 
====================================================================== 
Reported By:                Rodrigo
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12754
Category:                   Channels/chan_agent
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-29-2008 10:01 CDT
Last Modified:              06-09-2008 10:03 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.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-09-08 10:03  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 121231

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_agent.c

------------------------------------------------------------------------
r121231 | mmichelson | 2008-06-09 10:03:19 -0500 (Mon, 09 Jun 2008) | 35
lines

Merged revisions 121230 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r121230 | mmichelson | 2008-06-09 10:08:58 -0500 (Mon, 09 Jun 2008) | 27
lines

Merged revisions 121229 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Note that this is being merged to trunk/1.6.0 because
it may affect non-callback agents with ackcall set)

........
r121229 | mmichelson | 2008-06-09 10:02:37 -0500 (Mon, 09 Jun 2008) | 16
lines

A unique situation of timeouts brought forth a failure situation for
autologoff in chan_agent. If using AgentCallbackLogin-style agents, 
then if the timeout specified by the Dial() to reach the agent's phone
was shorter than the timeout specified in queues.conf, then autologoff
would only work if the caller hung up while the agent's phone was ringing.
This patch allows autologoff to work in this situation when the call in
queue transfers to the next available agent (as it would have if the
timeout
in queues.conf were less than the timeout in the Dial()).

(closes issue http://bugs.digium.com/view.php?id=12754)
Reported by: Rodrigo
Patches:
      12754.patch uploaded by putnopvut (license 60)
Tested by: Rodrigo


........

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=121231 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-09-08 10:03  svnbot         Checkin                                      
06-09-08 10:03  svnbot         Note Added: 0088485                          
======================================================================




More information about the asterisk-bugs mailing list