aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-13 14:55:17 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-13 14:55:17 +0000
commit4d6bda544523a6cb54de18ef53e7b29221e38872 (patch)
tree2810c964517b037514971a0a21d590826a7ab348 /apps/app_speech_utils.c
parentf31ea6a834bb6aaf57aa46fef9fcaa336baf746e (diff)
Merged revisions 79207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79207 | file | 2007-08-13 11:51:09 -0300 (Mon, 13 Aug 2007) | 2 lines Add an API call to allow the engine to know that DTMF was received. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79208 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 13aa709b6..df2fe468a 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -662,6 +662,7 @@ static int speech_background(struct ast_channel *chan, void *data)
/* Free the frame we received */
switch (f->frametype) {
case AST_FRAME_DTMF:
+ ast_speech_dtmf(speech, f->subclass);
if (dtmf_terminator != '\0' && f->subclass == dtmf_terminator) {
done = 1;
} else {