From: BJ Weschke Date: Wed, 3 May 2006 21:39:24 +0000 (+0000) Subject: Correct call parking behavior when there is no courtesytone specified. #6306 (murf) X-Git-Tag: 1.4.0-beta1~1583 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=282eb80ed42eace4cd628d4068d6697bf242d625;p=thirdparty%2Fasterisk.git Correct call parking behavior when there is no courtesytone specified. #6306 (murf) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24605 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_features.c b/res/res_features.c index 273f311cc9..b4a284bae6 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);