aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_echo.c')
-rwxr-xr-xapps/app_echo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c
index 7690209ac..27ba0d86f 100755
--- a/apps/app_echo.c
+++ b/apps/app_echo.c
@@ -55,6 +55,9 @@ static int echo_exec(struct ast_channel *chan, void *data)
if (f->frametype == AST_FRAME_VOICE) {
if (ast_write(chan, f))
break;
+ } else if (f->frametype == AST_FRAME_VIDEO) {
+ if (ast_write(chan, f))
+ break;
} else if (f->frametype == AST_FRAME_DTMF) {
if (f->subclass == '#') {
res = 0;