From 3dac92ecbf0f1a337830b0341add29bcb843cc56 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 13 Aug 2007 14:55:17 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@79208 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_speech_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') 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 { -- cgit v1.2.3