diff options
author | Florian Floimair <f.floimair@commend.com> | 2018-02-27 10:01:38 +0100 |
---|---|---|
committer | Florian Floimair <f.floimair@commend.com> | 2018-03-16 17:53:20 +0100 |
commit | ecc846b26b67c2449672fbded96d25a84fc34792 (patch) | |
tree | b370db84e5a7f631c44d1eadde28d244b9bd1a0f | |
parent | 53ed437db3f37d941538ec1bf0ff96c422c7bef5 (diff) |
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
-rw-r--r-- | apps/app_dial.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |