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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 4 09:04:35 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-04-2008 08:55 CDT
Last Modified:              06-04-2008 09:04 CDT
====================================================================== 
Summary:                    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-04-08 09:04  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120285

U   branches/1.4/apps/app_queue.c

------------------------------------------------------------------------
r120285 | mmichelson | 2008-06-04 09:04:34 -0500 (Wed, 04 Jun 2008) | 7
lines

Tab completion when removing a member should give the member's interface,
not the name, since the interface is what is expected for the command.

(closes issue http://bugs.digium.com/view.php?id=12783)
Reported by: davevg


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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-04-08 09:04  svnbot         Checkin                                      
06-04-08 09:04  svnbot         Note Added: 0087792                          
06-04-08 09:04  svnbot         Status                   assigned => resolved
06-04-08 09:04  svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list