Author Topic: Realtime page shows wrong information  (Read 3404 times)

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Realtime page shows wrong information
« on: February 19, 2009, 09:20:07 »
Hi

In the screenshot below, the second call being processed has a waiting time of 0:32. This can not be?!? The call is marked as entered at 9:27:18 and you can (almost) see the time of the page as 09.27.22. I would have thought that the waiting time shhould be 0:04 at most. QueueMetrics and asterisk run on the same server.

Here are the queue_log entries for the call
1234769238|1234769221.186809|9001|NONE|ENTERQUEUE||XXXXXXXXXX
1234769243|1234769221.186809|9001|Agent/1059|CONNECT|5|1234769238.186816
1234769372|1234769221.186809|NONE|Agent/1059|CALLSTATUS|dcd||
1234769376|1234769221.186809|9001|Agent/1059|COMPLETECALLER|5|133|1

Can you help me find out why this appears wrong?

Tony


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Realtime page shows wrong information
« Reply #1 on: February 19, 2009, 09:47:36 »
This is an easy one: the "live" data (green and red) is calculated against the local clock; so if the clock between Asterisk and the QM server is off by a few seconds, you will see wrong times (and sometimes even negative numbers).

Please go to the "Licence" page and see if the clocks of Asterisk, QM and MySQL are aligned.


« Last Edit: February 19, 2009, 09:49:16 by QueueMetrics »

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Re: Realtime page shows wrong information
« Reply #2 on: February 19, 2009, 09:56:28 »
Hi Lorenzo

That was my first thought, As mentioned, QueueMetrics is running on the same server as ASterisk. The licencing page states that "MySQL Time is aligned with Java Time"

Is the local PC clock involved at all?

Tony

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Realtime page shows wrong information
« Reply #3 on: February 19, 2009, 15:26:11 »
No, it's all server-side. Are you 100% sure that it's the same call you are seeing? i.e., if you go to the reports and click on it, you see that its Asterisk-isd is "1234769221.186809" ?

tonils

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
    • View Profile
    • Email
Re: Realtime page shows wrong information
« Reply #4 on: February 22, 2009, 07:55:50 »
Yes, if I look at the detail in the reports, it is correct