]> 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 16:49:42 +0000 (17:49 +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 0a33ff0844f44d6a803d2d49978893bcb40397ce..436570cd2ba7d2fcc1f3a6d8dc645605b366c102 100644 (file)
 === UPGRADE-14.txt  -- Upgrade info for 13 to 14
 ===========================================================
 
+From 15.3.0 to 15.4.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 15.2.0 to 15.3.0:
 
 app_confbridge
index b9f9dcb1a28e037c2e9017c609c583ab4b5ba6a1..d78ba5389700e30f560f7ef7d3da2e7a74bd35c6 100644 (file)
@@ -1601,6 +1601,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) {
@@ -1699,6 +1700,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) {