[asterisk-bugs] [JIRA] (ASTERISK-28701) app_queue: Core reload resets queue stats, even when keepstats=yes

Luke Escude (JIRA) noreply at issues.asterisk.org
Tue Jan 21 09:48:25 CST 2020


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

Luke Escude commented on ASTERISK-28701:
----------------------------------------

Joshua, could it be on Line 11430 on queues.c - struct ast_flags mask = {AST_FLAGS_ALL & ~QUEUE_RESET_STATS,};... It appears to be including the queue reset stats flag, even though we're simply calling a reload.

Additionally Line 9436 calls ao2_callback(q->members, OBJ_NODATA, mark_member_dead, NULL); which might mark a member "dead" during a standard reload event.

I haven't written C++ since college, sorry haha

> app_queue: Core reload resets queue stats, even when keepstats=yes
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-28701
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28701
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 16.7.0
>         Environment: Centos 7 x64
>            Reporter: Luke Escude
>            Assignee: Luke Escude
>            Severity: Minor
>
> Hello - When keepstats=yes in queues.conf (under general), the overall stats for each queue are kept after issuing a core reload: Avg talk time, hold time, call quantity, etc.
> However, the per-agent call stats (# calls taken, last call taken) get cleared out.
> This seems to go against the purpose of the keepstats directive.
> Expected results: Keepstats would keep stats ;)



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



More information about the asterisk-bugs mailing list