Permalink
Browse files

Add "member" argument to manager.queueStatus

  • Loading branch information...
1 parent b309ed9 commit d56d774df99e4b1e0fb0c0092465c05177cf9dab @dmchr committed Apr 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 manager.py
View
@@ -764,13 +764,15 @@ def queues(self):
#return self.collectDeferred(message, 'QueueStatusEnd')
return self.sendDeferred(message).addCallback(self.errorUnlessResponse)
- def queueStatus(self, queue=None):
+ def queueStatus(self, queue=None, member=None):
"""Retrieve information about active queues via multiple events"""
message = {
'action': 'queuestatus'
}
if queue is not None:
message.update({'queue': queue})
+ if member is not None:
+ message.update({'member': member})
return self.collectDeferred(message, 'QueueStatusComplete')
def redirect(self, channel, context, exten, priority, extraChannel=None):

0 comments on commit d56d774

Please sign in to comment.