mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user