[asterisk-bugs] [JIRA] (ASTERISK-27479) [patch] app_queue: While using queues with realtime, setting back to an empty announce don't stop the old announce to be played
Matt Fredrickson (JIRA)
noreply at issues.asterisk.org
Mon Dec 11 16:31:07 CST 2017
Matt Fredrickson created ASTERISK-27479:
-------------------------------------------
Summary: [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-27479
URL: https://issues.asterisk.org/jira/browse/ASTERISK-27479
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: Matt Fredrickson
Severity: Minor
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.
--- /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;
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list