[asterisk-bugs] [Asterisk 0013703]: Abort in free in queue show <name> command

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 16 12:24:45 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13703 
====================================================================== 
Reported By:                davidw
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13703
Category:                   Applications/app_queue
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0 
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-10-15 08:56 CDT
Last Modified:              2008-10-16 12:24 CDT
====================================================================== 
Summary:                    Abort in free in queue show <name> command
Description: 
We were getting bogus queue not found messages from the QUEUE_MEMBER (and
QUEUE_MEMBER_COUNT function), so after running "queue show", which gave the
truncated queue name, we tried queue show <name> with the full name.
====================================================================== 

---------------------------------------------------------------------- 
 (0093833) putnopvut (administrator) - 2008-10-16 12:24
 http://bugs.digium.com/view.php?id=13703#c93833 
---------------------------------------------------------------------- 
I have uploaded 13703_caseinsensitive.patch for testing. In my local tests,
this fixed things, but I'd like to confirm that this also works in your
setup.

There is one drawback to this patch which may make it insufficient for
inclusion in 1.6.0. The way it is implemented now is to change the hash
function used in app_queue to convert the name to all lower-case prior to
calling ast_str_hash on the name. This makes it so that case-sensitivity is
not an issue when using names from the dialplan, AMI, or CLI. This,
however, breaks the previous behavior of queues, which was that their names
were case-sensitive when parsing from queues.conf. This patch I have
submitted may be good for trunk and even 1.6.2, but as far as 1.6.0 and
1.6.1 go, they may need a different patch which doesn't alter
previously-defined behavior. I'll work on such a patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-16 12:24 putnopvut      Note Added: 0093833                          
======================================================================




More information about the asterisk-bugs mailing list