From 0c9b3cfe581180a63bc3c5049c667ffbde45ff63 Mon Sep 17 00:00:00 2001 From: file Date: Mon, 13 Aug 2007 14:51:09 +0000 Subject: 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 --- 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 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 { -- cgit v1.2.3