aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-13 14:51:09 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-13 14:51:09 +0000
commit0c9b3cfe581180a63bc3c5049c667ffbde45ff63 (patch)
tree4870eced532a2d1c751e72330421b73cf143e39d /apps/app_speech_utils.c
parent19462d7c765442837bb8ac70295d5a037fbf8adf (diff)
Add an API call to allow the engine to know that DTMF was received.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79207 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 c545db7cd..cf559c453 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -722,6 +722,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 {