QueueMetrics professional call center suite for the Asterisk PBX
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the new forum!
Home
Help
Search
Login
Register
QueueMetrics forum
»
QueueMetrics
»
Scripting QueueMetrics
»
[SOLVED] Getting stats for an entire queue
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Getting stats for an entire queue (Read 2880 times)
jbattle
Newbie
Posts: 2
Karma: 0
[SOLVED] Getting stats for an entire queue
«
on:
August 31, 2011, 23:02:02 »
I'm able to fetch data for the QM.stats method, but only if I supply an agent ID. The example code provided at this URL
http://queuemetrics.com/manuals/QM_XML-RPC_manual-chunked/ar01s02.html#_example_accessing_queuemetrics_from_javascript
implies that we can pass a queue ID and NO agent ID and get meaningful output. However, when I do this I get zeroes for all data points. Am I doing something wrong? Is the demo wrong? How do I get statistics on a queue globally (across all agents)?
thanks!
Jake
«
Last Edit: August 31, 2011, 23:28:45 by jbattle
»
Logged
jbattle
Newbie
Posts: 2
Karma: 0
Re: [SOLVED] Getting stats for an entire queue
«
Reply #1 on:
August 31, 2011, 23:29:37 »
I got this working after poking about randomly. It turns out I was formatting my report date ranges format (yyyy-dd-mm) instead of yyyy-mm-dd. After making this change I was able to fetch stats for the queue as a whole.
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: [SOLVED] Getting stats for an entire queue
«
Reply #2 on:
September 06, 2011, 10:18:17 »
Logged
Print
Pages: [
1
]
« previous
next »
QueueMetrics forum
»
QueueMetrics
»
Scripting QueueMetrics
»
[SOLVED] Getting stats for an entire queue