Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add "member" argument to manager.queueStatus

  • Loading branch information...
commit d56d774df99e4b1e0fb0c0092465c05177cf9dab 1 parent b309ed9
Dmitriy Chernyshov authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 manager.py
4 manager.py
@@ -764,13 +764,15 @@ def queues(self):
764 764 #return self.collectDeferred(message, 'QueueStatusEnd')
765 765 return self.sendDeferred(message).addCallback(self.errorUnlessResponse)
766 766
767   - def queueStatus(self, queue=None):
  767 + def queueStatus(self, queue=None, member=None):
768 768 """Retrieve information about active queues via multiple events"""
769 769 message = {
770 770 'action': 'queuestatus'
771 771 }
772 772 if queue is not None:
773 773 message.update({'queue': queue})
  774 + if member is not None:
  775 + message.update({'member': member})
774 776 return self.collectDeferred(message, 'QueueStatusComplete')
775 777
776 778 def redirect(self, channel, context, exten, priority, extraChannel=None):

0 comments on commit d56d774

Please sign in to comment.
Something went wrong with that request. Please try again.