summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/app_disa.c7
-rw-r--r--apps/app_playback.c3
-rw-r--r--main/pbx.c2
3 files changed, 1 insertions, 11 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c
index e87ee8357..49c7ad554 100644
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -187,12 +187,7 @@ static int disa_exec(struct ast_channel *chan, const char *data)
/* answer */
ast_answer(chan);
}
- } else {
- special_noanswer = 1;
- if (chan->_state != AST_STATE_UP) {
- ast_indicate(chan, AST_CONTROL_PROGRESS);
- }
- }
+ } else special_noanswer = 1;
ast_debug(1, "Context: %s\n",args.context);
diff --git a/apps/app_playback.c b/apps/app_playback.c
index 612cf684c..45fcfb5e4 100644
--- a/apps/app_playback.c
+++ b/apps/app_playback.c
@@ -452,10 +452,7 @@ static int playback_exec(struct ast_channel *chan, const char *data)
} else if (!option_noanswer) {
/* Otherwise answer unless we're supposed to send this while on-hook */
res = ast_answer(chan);
- } else {
- ast_indicate(chan, AST_CONTROL_PROGRESS);
}
-
}
if (!res) {
char *back = args.filenames;
diff --git a/main/pbx.c b/main/pbx.c
index 9b349da15..0cbaff39f 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -9126,8 +9126,6 @@ static int pbx_builtin_background(struct ast_channel *chan, const char *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) {