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
This commit is contained in:
Florian Floimair
2018-02-27 10:01:38 +01:00
parent 68df9e609e
commit 69463c612d
2 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -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) {