]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Fix CLI "queue remove member" queue_log entry.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 22 Oct 2013 19:02:15 +0000 (19:02 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 22 Oct 2013 19:02:15 +0000 (19:02 +0000)
commit2a40f6219a1e9b8811423fdec59a513a0d1421e2
treea636ac9540ce8cc7aecc50d3dc6a70e67c841d6a
parentc1066265adadbe432a09c263c12632997ab269e1
app_queue: Fix CLI "queue remove member" queue_log entry.

The queue_log entry resulting from CLI "queue remove member" when
log_membername_as_agent is enabled is wrong.  It always uses the interface
name instead of the member name in the queue_log entry.

* Get the queue member before removing it from the queue so the member
name is available for the queue_log entry.

(closes issue ASTERISK-21826)
Reported by: Oscar Esteve
Patches:
      fix_membername.diff (license #6505) patch uploaded by Oscar Esteve
         (modified to fix potential ref leak)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@401433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c