From 3f22aa53af0a7bb3efb280a1adda11f00a7f68fc Mon Sep 17 00:00:00 2001 From: file Date: Thu, 31 Aug 2006 01:59:02 +0000 Subject: Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_echo.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'apps/app_echo.c') diff --git a/apps/app_echo.c b/apps/app_echo.c index 19a86382e..4b2c94056 100644 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -71,19 +71,13 @@ static int echo_exec(struct ast_channel *chan, void *data) f->delivery.tv_usec = 0; switch (f->frametype) { case AST_FRAME_DTMF: - case AST_FRAME_DTMF_END: if (f->subclass == '#') { res = 0; ast_frfree(f); goto end; } /* fall through */ - case AST_FRAME_DTMF_BEGIN: - case AST_FRAME_VOICE: - case AST_FRAME_VIDEO: - case AST_FRAME_TEXT: - case AST_FRAME_HTML: - case AST_FRAME_IMAGE: + default: if (ast_write(chan, f)) { ast_frfree(f); goto end; -- cgit v1.2.3