]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Set quieted flag when receiving a dtmf tone during playback in speechbackground.
authorMatthew Nicholson <mnicholson@digium.com>
Wed, 19 May 2010 20:01:38 +0000 (20:01 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 19 May 2010 20:01:38 +0000 (20:01 +0000)
(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

index c43fc03e3b10cd31bb7a8216996c5899559266c1..8bba2d87bff0d8c647bf3b7fbf3436d90d89a24e 100644 (file)
@@ -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);
                                        }