[asterisk-bugs] [Asterisk 0018641]: [patch] New manager Action: QueueSync

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 18 23:23:22 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18641 
====================================================================== 
Reported By:                elbriga
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18641
Category:                   Applications/app_queue
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1079/ 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 302404 
Request Review:              
====================================================================== 
Date Submitted:             2011-01-18 19:42 CST
Last Modified:              2011-01-18 23:23 CST
====================================================================== 
Summary:                    [patch] New manager Action: QueueSync
Description: 
I've had some problems with the time that took to login agents via AMI,
since I had to first make sure they're removed from all queues first, and
then I've QueueAdd them to the Queues they belong.

  With this code in I can send an AMI command like this:

Action: QueueSync
Queues: queue1,queue5,queue7
Interface: SIP/pa01
Paused: 0
MemberName: Agent01

  And that will make sure that Agent01 gets added to the queues listed
(queue1,queue5,queue7) AND removed from all the other queues, with just one
AMI command.

  It will silently ignore errors such as "Already There", thus the only
possible error that it can cause is an RES_OUTOFMEMORY error.
====================================================================== 

---------------------------------------------------------------------- 
 (0130655) Jamuel (reporter) - 2011-01-18 23:23
 https://issues.asterisk.org/view.php?id=18641#c130655 
---------------------------------------------------------------------- 
It would be nice if there was an optional switch to *not* remove the agent
from queues not mentioned in the Queues parameter.  Does this seem like a
relatively trivial addition?

Action: QueueSync
Queues: queue1,queue5,queue7
Interface: SIP/pa01
Paused: 0
MemberName: Agent01
DoNotRemove: 1 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-18 23:23 Jamuel         Note Added: 0130655                          
======================================================================




More information about the asterisk-bugs mailing list