[asterisk-bugs] [Asterisk 0010422]: Unable to join queues until app_queue.so is reloaded

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 9 18:05:09 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10422 
====================================================================== 
Reported By:                bhowell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10422
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-09-2007 15:09 CDT
Last Modified:              08-09-2007 18:05 CDT
====================================================================== 
Summary:                    Unable to join queues until app_queue.so is reloaded
Description: 
I'm using the modules.conf sample file included with asterisk 1.4.10. Upon
loading asterisk, my queues show '(Invalid)' next to all static members of
the queue and the queues appear to be treated like they're empty. Once I
issue a 'module reload app_queue.so' (or 'reload'), queues work properly.

Output before reload:
====================
asterisk2*CLI> show queue tier2-iglou
tier2-iglou  has 0 calls (max unlimited) in 'ringall' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 0s
   Members: I>
      Local/1153 at acd-iglou with penalty 1 (Invalid) has taken no calls
yet
      Local/1134 at acd-iglou (Invalid) has taken no calls yet
      Local/1128 at acd-iglou (Invalid) has taken no calls yet
   No Callers>

Output after reload:
===================
asterisk2*CLI> show queue tier2-iglou
tier2-iglou  has 0 calls (max unlimited) in 'ringall' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 0s
   Members: I>
      Local/1153 at acd-iglou with penalty 1 (Not in use) has taken no calls
yet
      Local/1134 at acd-iglou (Not in use) has taken no calls yet
      Local/1128 at acd-iglou (Not in use) has taken no calls yet
   No Callers>


Presumably this occurs because autoload=yes in modules.conf is loading
modules in the wrong order (app_queue.so may be loaded before chan_sip.so).
I have not tested this.

Actually this exact same problem was reported in bug ID 0010094, but the
bug was closed and the error was assumed to be a user-supplied
modules.conf. I'm using the default modules.conf file and the the bug is
still present. This behavior is also present in Asterisk 1.4.4.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 08-09-07 18:05  
---------------------------------------------------------------------- 
I think your problem is related to the module load order. The difference
between this issue and http://bugs.digium.com/view.php?id=10094 is that you're
using local channels. So try
adding these lines to the end of modules.conf instead.

load => chan_sip.so
load => chan_local.so
load => app_queue.so 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-09-07 18:05  putnopvut      Note Added: 0068690                          
======================================================================




More information about the asterisk-bugs mailing list