[asterisk-bugs] [Asterisk 0014034]: app_queue does not update on realtime update

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 12 17:48:40 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14034 
====================================================================== 
Reported By:                cristiandimache
Assigned To:                otherwiseguy
====================================================================== 
Project:                    Asterisk
Issue ID:                   14034
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.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-12-08 17:33 CST
Last Modified:              2008-12-12 17:48 CST
====================================================================== 
Summary:                    app_queue does not update on realtime update
Description: 
We use app_queue with realtime MySQL. We want to set a different strategy,
so we change the content of the MySQL table to reflect this.
However, the change is not reflected in app_queue unless Asterisk is
restarted.
====================================================================== 

---------------------------------------------------------------------- 
 (0096346) svnbot (reporter) - 2008-12-12 17:48
 http://bugs.digium.com/view.php?id=14034#c96346 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 163873

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r163873 | twilson | 2008-12-12 17:48:39 -0600 (Fri, 12 Dec 2008) | 6 lines

When using realtime queues, app_queue wasn't updating the strategy if it
was changed in the realtime backend.  This patch resolves the issue for
almost all situations.  It is currently not supported to switch to the
linear strategy via realtime since the ao2_container for members will have
been set to have multiple buckets and therefore the members would be
unordered.

(closes issue http://bugs.digium.com/view.php?id=14034)
Reported by: cristiandimache
Tested by: otherwiseguy, cristiandimache

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-12 17:48 svnbot         Checkin                                      
2008-12-12 17:48 svnbot         Note Added: 0096346                          
======================================================================




More information about the asterisk-bugs mailing list