[asterisk-bugs] [JIRA] (ASTERISK-27204) Wrong queue stat calculation

sungtae kim (JIRA) noreply at issues.asterisk.org
Thu Aug 17 16:16:08 CDT 2017


sungtae kim created ASTERISK-27204:
--------------------------------------

             Summary: Wrong queue stat calculation
                 Key: ASTERISK-27204
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27204
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_queue
            Reporter: sungtae kim
            Severity: Minor


When the queue calculates queue's holdtime and talktime for the queue stat, it uses wrong initial info.

To calcaulte queue stat, it uses exponential average formula. 

Simply, for the first value, it uses average itself.
And since the next value it calculates using exponential average formula.

holdtime
- It does not consider the the first value.
- So, every calculation assumes the first holdtime is 0.
- Example, if the 

talktime
- it looks like it consider the first value.
- But it only in the service level.
- The talk time should consider all the call's talk time..

=========================================================

How to reproduce

- Reset the queue stat
- Make a call to queue.
- Wait call until out of service level time.
- Agent Call Answer
- Hangup
- Check the queue stat



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list