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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Aug 23 11:05:09 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Friendly Automation closed ASTERISK-27204.
------------------------------------------

    Resolution: Fixed

> [patch] app_queue: 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