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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 30 01:08:36 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-30-2008 01:08 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.
====================================================================== 

---------------------------------------------------------------------- 
 Rodrigo - 05-30-08 01:08  
---------------------------------------------------------------------- 
Thank you for the detailed description. 

Sorry for not being more detailed, but I do not exactly what would you
need, I guess is a matter of time (for my second bug report, I presume :-)


The autologoff parameter is set at 4 seconds, and the queue timeout is at
600 seconds (in order to display a periodic-announce each 15 seconds)

The thing is that I am having the autologoff time smaller than the
queues.conf timeout.

Being more exactly:

---->queues.conf

[queue]
music=default
timeout=600
retry=7
maxlen=0
periodic-announce-frequency=15
periodic-announce = busy_wait
strategy=leastrecent
member=>Agent/101,1
member=>Agent/102,1

---->agents.conf

[general]
persistentagents=yes

[agents]
autologoff=4
musiconhold => default
recordagentcalls=yes

agent => 101,,"101"
agent => 102,,"102"

---->extensions.conf

exten => s,1,Answer()
exten => s,n,Queue(alcala) 

Obviously I have cut the significant code, leaving behind what (I think)
it is not important. If you need any other piece of code, ask for it.

Thank you 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-30-08 01:08  Rodrigo        Note Added: 0087531                          
======================================================================




More information about the asterisk-bugs mailing list