]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 264335 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Wed, 19 May 2010 20:05:05 +0000 (20:05 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 19 May 2010 20:05:05 +0000 (20:05 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r264335 | mnicholson | 2010-05-19 15:02:57 -0500 (Wed, 19 May 2010) | 12 lines

  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/branches/1.6.2@264336 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_speech_utils.c

index 8ad5e748b14baf32ae2cec601c2374afaf5318e0..b4ebabc1ecc3934c04bb7c086cc3a5e26b07a8ce 100644 (file)
@@ -827,6 +827,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);
                                        }