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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 19 14:55:59 CST 2011


The following issue is now READY FOR TESTING. 
====================================================================== 
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:                        
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 14:55 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-19 14:55 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list