]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_dial: Enable early-media video
authorFlorian Floimair <f.floimair@commend.com>
Tue, 27 Feb 2018 09:01:38 +0000 (10:01 +0100)
committerFlorian Floimair <f.floimair@commend.com>
Fri, 16 Mar 2018 11:35:51 +0000 (12:35 +0100)
Certain applications (e.g. door-phone) require that also video is transmitted
before a call is accepted.

Change-Id: I9842e1dc2f6e1c2c49dc33fe615255007d2f821e

UPGRADE.txt
apps/app_dial.c

index bbb083e962231822028a1dc8b73c9171008e051d..133e8a85a8b80a08a1828205ce727f225e518079 100644 (file)
 === 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
index a37ff771aad8f3a28807631100d9fdc0534a2790..ea7ddd187733bc6091011cde8292bce948398f97 100644 (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) {