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...)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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...)
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