aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 20:02:57 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-19 20:02:57 +0000
commit9f18f034a5b5950adaf7bac5792c7c943e4321b8 (patch)
tree82c51a520629db0f17681104bfcc836dd3757b37 /apps/app_speech_utils.c
parentdcc1051ada8d70d67a26e2a28ae1bd66d52e8e36 (diff)
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/trunk@264335 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 28c37a31d..60af43640 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, const char *data)
if (dtmf_terminator != '\0' && f->subclass.integer == dtmf_terminator) {
done = 1;
} else {
+ quieted = 1;
if (chan->stream != NULL) {
ast_stopstream(chan);
}