diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_echo.c | 8 |
1 files changed, 1 insertions, 7 deletions
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; |