[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 13:19:35 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15664
======================================================================
Reported By: rain
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 15664
Category: Applications/app_queue
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: Older 1.4
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-08-05 16:19 CDT
Last Modified: 2009-08-07 13:19 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.
======================================================================
----------------------------------------------------------------------
(0108783) svnbot (reporter) - 2009-08-07 13:19
https://issues.asterisk.org/view.php?id=15664#c108783
----------------------------------------------------------------------
Repository: asterisk
Revision: 211047
_U branches/1.6.1/
U branches/1.6.1/apps/app_queue.c
------------------------------------------------------------------------
r211047 | tilghman | 2009-08-07 13:19:35 -0500 (Fri, 07 Aug 2009) | 28
lines
Merged revisions 211040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r211040 | tilghman | 2009-08-07 13:17:41 -0500 (Fri, 07 Aug 2009) | 21
lines
Merged revisions 211038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211038 | tilghman | 2009-08-07 13:16:28 -0500 (Fri, 07 Aug 2009) | 14
lines
QUEUE_MEMBER_LIST _really_ wants the interface name, not the
membername.
This is a partial revert of revision 82590, which was an attempted
cleanup,
but in reality, it broke QUEUE_MEMBER_LIST, which has always been
intended
as a method by which component interfaces could be queried from the
queue.
Membername isn't useful here, because that field cannot be used to
obtain
further information about the member. See the documentation on
QUEUE_MEMBER_LIST, RemoveQueueMember, QUEUE_MEMBER_PENALTY, and the
various
AMI commands which take a member argument for further justification.
(closes issue https://issues.asterisk.org/view.php?id=15664)
Reported by: rain
Patches:
app_queue-queue_member_list.diff uploaded by rain (license 327)
........
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=211047
Issue History
Date Modified Username Field Change
======================================================================
2009-08-07 13:19 svnbot Checkin
2009-08-07 13:19 svnbot Note Added: 0108783
======================================================================
More information about the asterisk-bugs
mailing list