Author Topic: Queue statistics not saved  (Read 3840 times)

pmathews

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Queue statistics not saved
« on: March 12, 2008, 16:09:06 »
I have a Queuemetrics 1.4.3 on an asterisk box running 1.4.18, with FreePBX 2.4.0.0 as a configuration manager. Queuementrics seems to be installed ok; all database checks run without error, I can use the setup wizard and load queues/agents that I setup in FreePBX, and even live call center monitoring works. However, Queuemetrics doesn't log any stats. Looking in the live call center monitoring, I can see logged in (dynamic) agents, callers waiting in the queue, max wait times, etc. but none of those stats are ever logged into Queuemetrics. I can check daily reports where I know there have been calls, but no activity at all is shown. Even the realtime call center monitor can see the queue as being there, but no stats.

One thing that I have noticed that may help is that not all the stats are correct. For example, when an agent is talking on a call, the server displays him as  "other q.", rather than "talking"; although his agent status shows "in use". Is this the correct behavior or not?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue statistics not saved
« Reply #1 on: March 13, 2008, 10:18:33 »
1. If you run a report for "today", do you see any calls for any queues?
2. if you look into the file /var/log/asterisk/queue_log do you find anything in there?

pmathews

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Queue statistics not saved
« Reply #2 on: March 13, 2008, 15:46:38 »
Running reports shows no data. I can run a quick activity report for today (or any day for that matter) and I get no data - no calls, no wait times, everything is 0.

/var/log/asterisk/queue_log does contain data, and data is posted to it as calls come in. Doing a tail -f on it I can see everything showing up in realtime as the calls are happening:

1205419066|1205418950.32|7000|Local/1703@from-internal
n|COMPLETEAGENT|35|81|2
1205419072|1205418983.45|7000|Local/1703@from-internal/n|CONNECT|89|1205419068.70
1205419078|1205419078.73|7000|NONE|ENTERQUEUE||1702
1205419078|1205419078.73|7000|Local/1703@from-internal/n|RINGNOANSWER|0
1205419089|1205418983.45|7000|Local/1703@from-internal/n|COMPLETEAGENT|89|17|2
1205419092|1205419078.73|7000|Local/1703@from-internal/n|CONNECT|14|1205419090.76


Any ideas?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue statistics not saved
« Reply #3 on: March 14, 2008, 10:30:57 »
I would say it looks like queues are not correctly defined. The data in queue_log looks healthy. Try defining a queue named "7000" with definition "7000" and running a report for it.

pmathews

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Queue statistics not saved
« Reply #4 on: March 17, 2008, 15:42:42 »
I assume you mean the queue alias? If so, it is already defined as 7000. Checking the queue detail, the queue number is 7000, with a queue alias of 7000.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue statistics not saved
« Reply #5 on: March 17, 2008, 21:27:04 »
From the quick check I performed, you were using SQL storage but did not run the SQL loader - that's why you saw no data.