[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 04:51:58 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 04:51 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
====================================================================== 

---------------------------------------------------------------------- 
 (0092550) DougUDI (reporter) - 2008-09-16 04:51
 http://bugs.digium.com/view.php?id=13481#c92550 
---------------------------------------------------------------------- 
Looking at the difference from state_ok.txt and state_incorrect.txt. 

Again my understanding is that the app_queue passes the members in each
queue and then hands off the states to the devstate manager. This seems to
happen in the working version:

[Sep 16 08:32:25] DEBUG[2393] app_queue.c: Device 'SIP/9304' changed to
state '2' (In use)
'
[Sep 16 08:32:25] DEBUG[2340] devicestate.c: Changing state for SIP/9304 -
state 2 (In use)


Where in the not working version we only see:

[Sep 15 16:03:41] DEBUG[16317] app_queue.c: Device 'SIP/1893' changed to
state '2' (In use) but we don't care because they're not a member of any
queue.
[Sep 15 16:03:41] DEBUG[16317] app_queue.c: Device 'SIP/1893' changed to
state '2' (In use) but we don't care because they're not a member of any
queue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-16 04:51 DougUDI        Note Added: 0092550                          
======================================================================




More information about the asterisk-bugs mailing list