[asterisk-bugs] [Asterisk 0013481]: Agent state not updating using both dynamic and direct agents.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 16 03:17:31 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13481 
====================================================================== 
Reported By:                DougUDI
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13481
Category:                   Applications/app_queue
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.21.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-15 03:13 CDT
Last Modified:              2008-09-16 03:17 CDT
====================================================================== 
Summary:                    Agent state not updating using both dynamic and
direct agents.
Description: 
Hi

We have a problem where the agent states do not update correctly and will
show "not in use" when the agents are on a call. Originally we used dynamic
agents and state_interface patch. Because state_interface is a back port we
reverted to direct SIP agents and have the problem here as well. From this
it is safe to assume that this problem is not being caused by this patch.
The queue app sends second and 3rd calls to the agents even when set to
limit 1 call due to the fact that the queue assumes the agent is "not in
use"
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012970 Agent Status and outgoing calls
====================================================================== 

---------------------------------------------------------------------- 
 (0092547) DougUDI (reporter) - 2008-09-16 03:17
 http://bugs.digium.com/view.php?id=13481#c92547 
---------------------------------------------------------------------- 
Hi blitzrange

I have added a debug of a working system (state_ok.txt) and a not working
one (state_incorrect.txt and state_incorrect2.txt). From my limited
understanding I see a an error that comes up:

app_queue.c: Device 'SIP/1851' changed to state '8' (On Hold) but we don't
care because they're not a member of any queue.

from this it seems that the the queue is trying to reference a state but
cannot link the agent to a queue.

We are using dynamic SIP agents. As a test we added the queue members to
the queues.conf as we would using static agents, this corrected the problem
and states work well this way. I believe this is because by having the
member in the queues.conf asterisk links the agent to the correct queue and
updates the state.

Please let me know if you need any other info or debugs?

Thanks 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-16 03:17 DougUDI        Note Added: 0092547                          
======================================================================




More information about the asterisk-bugs mailing list