aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_echo.c')
-rw-r--r--apps/app_echo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c
index 4b2c94056..73ca2d181 100644
--- a/apps/app_echo.c
+++ b/apps/app_echo.c
@@ -73,6 +73,8 @@ static int echo_exec(struct ast_channel *chan, void *data)
case AST_FRAME_DTMF:
if (f->subclass == '#') {
res = 0;
+ if (ast_write(chan, f))
+ res = -1;
ast_frfree(f);
goto end;
}