[asterisk-bugs] [JIRA] (ASTERISK-27469) [patch] app_queue: While using queues with realtime, setting back to an empty announce don't stop the old announce to be played

Sean Bright (JIRA) noreply at issues.asterisk.org
Fri Mar 19 16:02:14 CDT 2021


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

Sean Bright updated ASTERISK-27469:
-----------------------------------

    Description: Like in ASTERISK-26462, where the affected field was "context", I noticed also  the field "announce" is not correctly reset on queue init.  (was: Like in ASTERISK-26462, where the affected field was "context", I noticed also  the field "announce" is not correctly reset on queue init. 

--- /usr/local/src/asterisk-13.18.2/apps/app_queue.c    2017-11-10 16:41:55.000000000 +0100
+++ app_queue.c 2017-11-26 11:44:59.281418114 +0100
@@ -2656,6 +2656,7 @@
        q->maxlen = 0;
 
        ast_string_field_set(q, context, "");
+       ast_string_field_set(q, announce, "");
 
        q->announcefrequency = 0;
        q->minannouncefrequency = DEFAULT_MIN_ANNOUNCE_FREQUENCY;
)

> [patch] app_queue: While using queues with realtime, setting back to an empty announce don't stop the old announce to be played
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27469
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27469
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 13.18.3
>         Environment: CentOS 6 64bit, MySQL 5.7 used with ODBC
>            Reporter: Leandro Dardini
>              Labels: patch
>         Attachments: app_queue.c.patch
>
>
> Like in ASTERISK-26462, where the affected field was "context", I noticed also  the field "announce" is not correctly reset on queue init.



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



More information about the asterisk-bugs mailing list