summaryrefslogtreecommitdiff
path: root/res/parking/parking_applications.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/parking/parking_applications.c')
-rw-r--r--res/parking/parking_applications.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/parking/parking_applications.c b/res/parking/parking_applications.c
index 3d2eecd29..5500e3316 100644
--- a/res/parking/parking_applications.c
+++ b/res/parking/parking_applications.c
@@ -516,6 +516,7 @@ static int park_app_exec(struct ast_channel *chan, const char *data)
if (!silence_announcements && !transferer) {
ast_stream_and_wait(chan, "pbx-parkingfailed", "");
}
+ publish_parked_call_failure(chan);
return 0;
}
@@ -523,6 +524,7 @@ static int park_app_exec(struct ast_channel *chan, const char *data)
res = ast_bridge_features_init(&chan_features);
if (res) {
ast_bridge_features_cleanup(&chan_features);
+ publish_parked_call_failure(chan);
return -1;
}