From: Matthew Nicholson Date: Wed, 19 May 2010 20:01:38 +0000 (+0000) Subject: Set quieted flag when receiving a dtmf tone during playback in speechbackground. X-Git-Tag: 1.4.33-rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f428d9bfdb5fcb543d49ec7dcd606214ec58888b;p=thirdparty%2Fasterisk.git 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 --- 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); }