[asterisk-bugs] [Asterisk 0012783]: [patch] Using AddQueueMember with the membername parameter causes minor issues

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jun 26 17:45:34 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12783 
====================================================================== 
Reported By:                davevg
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12783
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 120226 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-04-2008 08:55 CDT
Last Modified:              06-26-2008 17:45 CDT
====================================================================== 
Summary:                    [patch] Using AddQueueMember with the membername
parameter causes minor issues
Description: 
If you pass the membername to the AddQueueMember application it does not
expose the interface name to the CLI to allow you to manually log off the
agent.  Tab completion on the interface returns the membername not the
interface which does not allow the removal.  
"queue remove member <tab>" in the example below gives:

asterisk*CLI> queue remove member Test from rrmemory 
Unable to remove interface 'Test' from queue 'rrmemory': Not there

Trying to remove it by the member name results in this:
asterisk*CLI> queue remove member "Test User" from rrmemory
Unable to remove interface 'Test User' from queue 'rrmemory': Not there

But if you know the interface ahead of time, you can do (But the tab
completion does not show the Local channel):
asterisk*CLI> queue remove member Local/1223 at queue-agents/n from rrmemory

Removed interface 'Local/1223 at queue-agents/n' from queue 'rrmemory'



====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-26-08 17:45  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 125585

U   branches/1.4/apps/app_queue.c

------------------------------------------------------------------------
r125585 | mmichelson | 2008-06-26 17:45:32 -0500 (Thu, 26 Jun 2008) | 11
lines

Add the interface of a queue member to the output of the "queue show"
command
so that it can easily be associated with a queue member's name. This helps
so that the appropriate queue member can be removed or paused since the 
interface is required, not the member's name.

(closes issue http://bugs.digium.com/view.php?id=12783)
Reported by: davevg
Patches:
      app_queue.diff uploaded by davevg (license 209) with small mod from
me


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=125585 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-26-08 17:45  svnbot         Checkin                                      
06-26-08 17:45  svnbot         Note Added: 0089326                          
======================================================================




More information about the asterisk-bugs mailing list