Allow support for early media on AMI originates and call files.
[asterisk/asterisk.git] / apps / app_originate.c
index 4756b68..8eb8ba3 100644 (file)
@@ -178,7 +178,7 @@ static int originate_exec(struct ast_channel *chan, const char *data)
 
                ast_pbx_outgoing_exten(chantech, cap_slin, chandata,
                                timeout * 1000, args.arg1, exten, priority, &outgoing_status, 0, NULL,
-                               NULL, NULL, NULL, NULL);
+                               NULL, NULL, NULL, NULL, 0);
        } else if (!strcasecmp(args.type, "app")) {
                ast_debug(1, "Originating call to '%s/%s' and connecting them to %s(%s)\n",
                                chantech, chandata, args.arg1, S_OR(args.arg2, ""));