From: Florian Floimair Date: Tue, 27 Feb 2018 09:01:38 +0000 (+0100) Subject: app_dial: Enable early-media video X-Git-Tag: 13.21.0-rc1~59^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69463c612dfc419e46aa3834e842389afba8aa83;p=thirdparty%2Fasterisk.git 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 --- diff --git a/UPGRADE.txt b/UPGRADE.txt index bbb083e962..133e8a85a8 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -21,6 +21,14 @@ === UPGRADE-12.txt -- Upgrade info for 11 to 12 =========================================================== +From 13.20.0 to 13.21.0: + +app_dial +------------------ + * The Dial application now supports early-media video (in addition to + audio) on both the calling as well as the called party. + Be aware that this is a change in behavior. + From 13.19.0 to 13.20.0: app_confbridge diff --git a/apps/app_dial.c b/apps/app_dial.c index a37ff771aa..ea7ddd1877 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1609,6 +1609,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) { @@ -1707,6 +1708,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) {