[asterisk-bugs] [Asterisk 0015664]: [patch] QUEUE_MEMBER_LIST() returns member names instead of interfaces

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 7 12:31:13 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15664 
====================================================================== 
Reported By:                rain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15664
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           Older 1.4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-05 16:19 CDT
Last Modified:              2009-08-07 12:31 CDT
====================================================================== 
Summary:                    [patch] QUEUE_MEMBER_LIST() returns member names
instead of interfaces
Description: 
Although QUEUE_MEMBER_LIST() has always been documented as returning a list
of interfaces associated with a queue, it has been returning
member->membername since r82593.  When a queue member has an empty
membername, the membername is set to the channel name, which is probably
why nobody noticed.
====================================================================== 

---------------------------------------------------------------------- 
 (0108777) rain (reporter) - 2009-08-07 12:31
 https://issues.asterisk.org/view.php?id=15664#c108777 
---------------------------------------------------------------------- 
-= Info about function 'QUEUE_MEMBER_LIST' =-
[Synopsis]
Returns a list of interfaces on a queue

When QUEUE_MEMBER_LIST() first appeared (SVN r8069), queue member names
were not supported by Asterisk and QUEUE_MEMBER_LIST() always returned
interface names.  This behavior remained until r82593, when a commit
changed the function to prefer membername; but, as both of us have said
now, membername is populated with the interface name when a member name is
not set.  This is why I contend that the behavior has been broken for some
time but noone has noticed.

Having QUEUE_MEMBER_LIST() return the list of member names instead of
interface names makes the function practically useless, since there is no
way to associate the member names with anything else within the dialplan. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-07 12:31 rain           Note Added: 0108777                          
======================================================================




More information about the asterisk-bugs mailing list