Getting statistics from Asterisk

Hi!

As a developer new to the Asterisk Manager API, I am wondering if there is any documentation or information on how to extract statistics on the queue, ongoing calls, transfers etc. etc. from the Asterisk.

Right now I am polling the events using Asterisk-Java and from there trying to get it all out, but this seems to be really cumbersome and time-consuming process that doesn’t give me all the information I need.

Have I missed some valuble resource of information or is there any other neat way to extract all internal information/variables from the Asterisk?

Thanks in advance!

Mattias Malmquist

Programmer - wx3 Telecoms Resources AB