summaryrefslogtreecommitdiff
path: root/res/res_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_features.c')
-rw-r--r--res/res_features.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 273f311cc..b4a284bae 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1662,8 +1662,11 @@ static int park_exec(struct ast_channel *chan, void *data)
ast_hangup(peer);
return -1;
}
+ } else {
+ ast_moh_stop(peer);
+ ast_indicate(peer, AST_CONTROL_UNHOLD);
}
-
+
res = ast_channel_make_compatible(chan, peer);
if (res < 0) {
ast_log(LOG_WARNING, "Could not make channels %s and %s compatible for bridge\n", chan->name, peer->name);