From f428d9bfdb5fcb543d49ec7dcd606214ec58888b Mon Sep 17 00:00:00 2001 From: Matthew Nicholson Date: Wed, 19 May 2010 20:01:38 +0000 Subject: [PATCH] Set quieted flag when receiving a dtmf tone during playback in speechbackground. (closes issue #16966) Reported by: asackheim git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@264334 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_speech_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index c43fc03e3b..8bba2d87bf 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -735,6 +735,7 @@ static int speech_background(struct ast_channel *chan, void *data) if (dtmf_terminator != '\0' && f->subclass == dtmf_terminator) { done = 1; } else { + quieted = 1; if (chan->stream != NULL) { ast_stopstream(chan); } -- 2.47.3