[asterisk-bugs] [Asterisk 0008407]: [patch] app_queue device state change race

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 15 15:06:08 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=8407 
====================================================================== 
Reported By:                tim_ringenbach
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   8407
Category:                   Applications/app_queue
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:            1.2.13 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             11-22-2006 16:44 CST
Last Modified:              10-15-2007 15:06 CDT
====================================================================== 
Summary:                    [patch] app_queue device state change race
Description: 
Because device state changes are done in their own thread (one thread per
state change), they happen in a random order. This is bad, if a device
changes states quickly enough, the last change isn't always the last one
recorded, so a device can be stuck in use forever. The patch fixes that by
having a decided thread to do the updates. Diff made with svn diff against
a checkout of 1.2.13's tag.
====================================================================== 

---------------------------------------------------------------------- 
 russell - 10-15-07 15:06  
---------------------------------------------------------------------- 
putnopvut:  Keep in mind that this has already been done in trunk.  You may
just want to copy the code from trunk back to 1.4 for this, so that it's
the same.  Or, I can do it if you want. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-15-07 15:06  russell        Note Added: 0072040                          
======================================================================




More information about the asterisk-bugs mailing list