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

sungtae kim (JIRA) noreply at issues.asterisk.org
Fri Aug 18 02:39:07 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238129#comment-238129 ] 

sungtae kim edited comment on ASTERISK-27204 at 8/18/17 2:39 AM:
-----------------------------------------------------------------

Submitted patch at here

https://gerrit.asterisk.org/#/c/6246/


was (Author: pchero):
Submitted path to here

https://gerrit.asterisk.org/#/c/6246/

> 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