mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user