Realtime calls/queue stats page

I want to build a page that shows who is on the phone currently, how long theyre on the phone, number of calls in the queue, wait time, etc. I’m not certain how to go about doing this. I know it must have to do with asterisk realtime and php, or maybe javascript. Does anyone with any experience on this have any suggestions, or know where I can find more information on how to do this?

You might be re-inventing the wheel here…

I know there is at least one product out there that offers basically what you are looking for.

I can’t remember if it’s called AMP (Asterisk Management Interface) or Flash Operator Panel.

They are both free and are very cool…

I suggest doing a search for both and looking at the features of each.

Hope this helps…

I’ve worked with the flash operator panel before, and i was hoping for something a little better. I’ll take a look tho, thanks for the response

Maybe you can look at the code and learn from it?

Just a thought…

i wrote one in PHP, that uses the manager interface to pull this information…

it’s not very pretty, and the only useful bit of info that it displays is the calls holding, but it is extremely fast and doesn’t bog the server down much.

i’m going to look at the FOP code to see how they’re pulling the individual stats for the call waittime - that is something that i have been wanting to add, along with a few other things…