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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 4 12:14:15 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-04-2008 12:14 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'



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

---------------------------------------------------------------------- 
 davevg - 06-04-08 12:14  
---------------------------------------------------------------------- 
Good point about the limit.  I was thinking we may want a "concise" command
for those parsing the values.  But that is not likely to go into the 1.4
branch.  But we'd probably want ~something~ in 1.4 to allow them to get the
interface name attached to a membername. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-04-08 12:14  davevg         Note Added: 0087814                          
======================================================================




More information about the asterisk-bugs mailing list