summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/app_parkandannounce.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_parkandannounce.c b/apps/app_parkandannounce.c
index 172f0236c..6d6ccae26 100644
--- a/apps/app_parkandannounce.c
+++ b/apps/app_parkandannounce.c
@@ -139,6 +139,8 @@ static int parkandannounce_exec(struct ast_channel *chan, const char *data)
if (!ast_strlen_zero(args.return_context)) {
ast_clear_flag(ast_channel_flags(chan), AST_FLAG_IN_AUTOLOOP);
ast_parseable_goto(chan, args.return_context);
+ } else {
+ ast_channel_priority_set(chan, ast_channel_priority(chan) + 1);
}
ast_verb(3, "Return Context: (%s,%s,%d) ID: %s\n", ast_channel_context(chan), ast_channel_exten(chan),