[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:06:55 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:                     closed
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:06 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:06  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120287

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_queue.c

------------------------------------------------------------------------
r120287 | mmichelson | 2008-06-04 09:06:54 -0500 (Wed, 04 Jun 2008) | 23
lines

Merged revisions 120286 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r120286 | mmichelson | 2008-06-04 09:12:45 -0500 (Wed, 04 Jun 2008) | 15
lines

Merged revisions 120285 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r120285 | mmichelson | 2008-06-04 09:11:12 -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=120287 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-04-08 09:06  svnbot         Checkin                                      
06-04-08 09:06  svnbot         Note Added: 0087794                          
======================================================================




More information about the asterisk-bugs mailing list