PHP and Asterisk server

We have an interface, which is build in PHP, is it possible with a code to retreive informations on the number of persons in queue in our asterisk server?

Yes it is, just send the command “queue show myqueue” through the Asterisk manager interface and then parse the output; I suggest you to use the nice phpagi class you find here: .


Marco Bruni


You might want to look at Nic’s Stats package as well.