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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 19 17:48:19 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:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-2946 
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-19 17:48 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0130754) elbriga (reporter) - 2011-01-19 17:48
 https://issues.asterisk.org/view.php?id=18641#c130754 
---------------------------------------------------------------------- 
Yes, and if the param "DoNotRemove" is missing or is "0" it will do the
removing.

Sounds good. I'll make the change. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-19 17:48 elbriga        Note Added: 0130754                          
======================================================================




More information about the asterisk-bugs mailing list