From ecc846b26b67c2449672fbded96d25a84fc34792 Mon Sep 17 00:00:00 2001 From: Florian Floimair Date: Tue, 27 Feb 2018 10:01:38 +0100 Subject: app_dial: Enable early-media video Certain applications (e.g. door-phone) require that also video is transmitted before a call is accepted. Change-Id: I9842e1dc2f6e1c2c49dc33fe615255007d2f821e --- apps/app_dial.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_dial.c b/apps/app_dial.c index 257ff472a..920eb439b 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1605,6 +1605,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, break; } break; + case AST_FRAME_VIDEO: case AST_FRAME_VOICE: case AST_FRAME_IMAGE: if (caller_entertained) { @@ -1703,6 +1704,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, ast_log(LOG_WARNING, "Unable to send URL\n"); } break; + case AST_FRAME_VIDEO: case AST_FRAME_VOICE: case AST_FRAME_IMAGE: if (!single || caller_entertained) { -- cgit v1.2.3