aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 1672b5332..acf2da9cf 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -5710,6 +5710,8 @@ static int pbx_builtin_background(struct ast_channel *chan, void *data)
} else if (!ast_test_flag(&flags, BACKGROUND_NOANSWER)) {
res = ast_answer(chan);
}
+ /* Send progress control frame to start early media */
+ ast_indicate(chan, AST_CONTROL_PROGRESS);
}
if (!res) {