Author Topic: Waiting and Duration problems in Realtime monitoring  (Read 10176 times)

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Waiting and Duration problems in Realtime monitoring
« on: August 29, 2007, 23:34:41 »
For some reason, both of these fields are never populated on my system.

I can see the calls when they are either in progress or waiting to be sent to an agent, and the Entered column has the correct time.

Any ideas?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #1 on: August 30, 2007, 14:40:44 »
(I suppose we are speaking of the Realtime page, note the Live one.)

There might be two different reasons:
1. you are speaking of outgoing calls. This is by design (of Asterisk) not having the connect time.
2. if this happens on incoming calls as well, very likely there is some timing problem with QM: see http://queuemetrics.com/faq.jsp#faq-032-timezones


Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #2 on: August 30, 2007, 21:14:19 »
(I suppose we are speaking of the Realtime page, note the Live one.)

There might be two different reasons:
1. you are speaking of outgoing calls. This is by design (of Asterisk) not having the connect time.
2. if this happens on incoming calls as well, very likely there is some timing problem with QM: see http://queuemetrics.com/faq.jsp#faq-032-timezones

Yes, I am talking about the Realtime page.  I am also definitely talking about incoming calls.

I have actually gone through the timezone faq, as I previously had a problem with QueueMetrics showing the time to be an hour off.  This was, however, resolved before I posted this message.

Any other ideas?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #3 on: September 01, 2007, 18:26:24 »
If you are running 1.4 and use a default time zone offset, the cause might be a bug we just founfd that is fixed in 1.4.1 due next week. Could this be the case?

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #4 on: September 04, 2007, 21:14:05 »
If you are running 1.4 and use a default time zone offset, the cause might be a bug we just founfd that is fixed in 1.4.1 due next week. Could this be the case?


Well, I am running a pre-release version of 1.4.1 that Lorenzo gave me August 22nd.  Is this bug something that has been fixed since then?  If so, then it is entirely likely it is the same issue.  Any chance of getting another prerelease snapshot to test with?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #5 on: September 05, 2007, 12:56:38 »
We just released it - the website will be updated later today.

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #6 on: September 05, 2007, 13:55:17 »
OK, thanks.  I just grabbed the 1.4.1 tarball, and I will test it ASAP and respond back here.

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #7 on: September 06, 2007, 01:15:13 »
This still is not working for me.   :(

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #8 on: September 06, 2007, 10:43:39 »
I think I need you to send over a few screenshots of what is going on.
For maximum ease of understanding, the best thing is to take a screenshot where you are seeing:
- QM realtime page
- A shell window showing "tail -f /var/log/asterisk/queue_log"
so it's very easy to match whta is going on with the last lines of the queue_log.

See http://astrecipes.net/index.php?n=251 for how to submit an error.
Thanks.

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #9 on: September 06, 2007, 16:00:54 »
I can send this information over, though I'm not sure what the queue_log is going to prove.  It sees the entry of the call into the queue and also sees when it is answered by an agent, but is not calculating the Waiting time of a call in queue or the Duration of a call that's connected to an agent.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #10 on: September 06, 2007, 16:46:03 »
A screenshow where we see the queue_log and a call showing 0 when it's not would be pretty helpful.

Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #11 on: September 10, 2007, 19:59:31 »
Here's a section of the queue_log that does not show any duration:

1189447039|110a2108-6868030a-13c4-46e54cef-2dc42376-6bd2@compuware.com|brad-q|NONE|ENTERQUEUE||71841
1189447040|110a2108-6868030a-13c4-46e54cef-2dc42376-6bd2@compuware.com|brad-q|Local/18887@queuemembers|CONNECT|1|1189447039.844
1189447080|110a2108-6868030a-13c4-46e54cef-2dc42376-6bd2@compuware.com|brad-q|Local/18887@queuemembers|COMPLETECALLER|1|40|1

And it's not that it should a zero, it shows nothing in the Duration column (and likewise for a call that is waiting, the Waiting column is blank).

I can post a screenshot if you'd like, but where?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #12 on: September 12, 2007, 08:49:18 »
It looks correct - are you sure you didnt by chance set:

liveclock.enable=false

in configuration.properties?



Marquis

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
    • Email
Re: Waiting and Duration problems in Realtime monitoring
« Reply #13 on: September 12, 2007, 12:21:00 »
OK, that's exactly the problem.  However, I didn't set it that way.  It must be disabled by default.  It might be nice if the description for this parameter mentioned that waiting time and duration will not be displayed if set to false.

Thanks for the idea, anyway, that definitely fixes the problem.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Waiting and Duration problems in Realtime monitoring
« Reply #14 on: September 13, 2007, 15:45:36 »
This is strange, I'd bet a beer that it was set
Code: [Select]
true in all releases we have done so far - anyway what's nice is that the problem is now fixed.