Link to home
Start Free TrialLog in
Avatar of juju3701
juju3701

asked on

How to get Asterisk calls indicators?

I'd like to get Asterisk indicators from a queue such as:

  • Calls wait
  • Abandon calls
  • Average waiting time
  • Agent status
  • QoS

Also, I want to store data into my database (MySQL) and request it with a PHP script. Is it possible to do this with AMI? Do you have any example?

My version of is Asterisk 1.8.32.3

Thanks in advance,
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you should be able to access queue_log from AMI but you can probably accomplish what you want with available software packages rather than writing your own parser and reports. AMI gets you access to the QueueStatus action, but then you'd have to parse it yourself. Is the objective for real-time monitoring, reporting, both or something else?

If you're okay with some tools rather than writing your own here's some suggestions:

OrderlyStats, I've setup on some installations a while ago, Haven't had much issue with it http://www.orderlyq.com/solutions/orderlystats/ 

QueueMetrics, haven't personally used, but have heard good things about their hosted service (you can install on your own servers if you don't want it hosted). It's commercial software rather than open, but depending on the size of your organization it might be cost effective. https://www.queuemetrics.com/

Asternic, This one came up with a Google search. Haven't used them myself, but from a quick read through it seems to do what you need.
http://www.asternic.net/index.php