From d38c6459f55adb90d8e7eb29d9f11fdf0777f3e5 Mon Sep 17 00:00:00 2001 From: Matthew Nicholson Date: Wed, 19 May 2010 20:02:57 +0000 Subject: [PATCH] Merged revisions 264334 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r264334 | mnicholson | 2010-05-19 15:01:38 -0500 (Wed, 19 May 2010) | 5 lines 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/trunk@264335 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 28c37a31d5..60af43640e 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -827,6 +827,7 @@ static int speech_background(struct ast_channel *chan, const char *data) if (dtmf_terminator != '\0' && f->subclass.integer == dtmf_terminator) { done = 1; } else { + quieted = 1; if (chan->stream != NULL) { ast_stopstream(chan); }