Menu

AGI AsteriskManager QueueStatus usage

0xception
2007-04-14
2013-04-29
  • 0xception

    0xception - 2007-04-14

    Hi,

    I'm working on creating an AJAX based web interface for the call queues/agents. I've been trying to use phpAGI's AsteriskManager to implement this. I am having trouble using the QueueStatus() function.

    When i make a call to QueueStatus("123456789ABC") i successfully receive the response message but only the response message telling me it was successful. I would like to know how to also receive the events pertaining to the queueStatus command (ie the QueueParams or the QueueMembers).

    I've attempted to use the add_event_handler("QueueMember", "event_dump"), however since i'm using AJAX calls to the server i dont know if this will work correctly.

    Is there a way to get the events from the QueueStatus() function like this?

    (please forgive any really stupid mistakes i may be making...)

     
  • Wimpi

    Wimpi - 2012-11-30

    Hi,

    I think I have the same problem.
    When I try to get QueueStatus like this: $asm->QueueStatus();
    i got just the "Response" and "Header":
      'Response' => 'Success'
      'Message' => 'Queue status will follow'
    but nothing else.

    How can I get QueueStatus parameters (http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+QueueStatus)
    What am I doing wrong?

    thanks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.