aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 20:05:05 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 20:05:05 +0000
commitf42e01a9beae8a40019bd0b7682ad9ec5efe45e1 (patch)
treee2c5b50709d8a8b1789c4fc3fa411ee4a13aca48 /apps/app_speech_utils.c
parent4c762b97c714d4c2a51968a96e2c2f1c237dbd2d (diff)
Merged revisions 264335 via svnmerge from
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@264336 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r--apps/app_speech_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 8ad5e748b..b4ebabc1e 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, void *data)
if (dtmf_terminator != '\0' && f->subclass == dtmf_terminator) {
done = 1;
} else {
+ quieted = 1;
if (chan->stream != NULL) {
ast_stopstream(chan);
}