aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 20:01:38 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 20:01:38 +0000
commitca3bd71a4ffb3713c2cbbc8e4f24424ddabd5d08 (patch)
treeb28781cae99c0ad3ba54a7f867c9493cfbdf5311
parent88ad1c82f8eace74ae9e2fee1f00ad86674e9720 (diff)
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.4@264334 f38db490-d61c-443f-a65b-d21fe96a405b
-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 c43fc03e3..8bba2d87b 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);
}