mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
Fix music on hold on park
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -718,9 +718,10 @@ static int queue_exec(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Don't allow return code > 0 */
|
/* Don't allow return code > 0 */
|
||||||
if (res > 0 && res != AST_PBX_KEEPALIVE)
|
if (res > 0 && res != AST_PBX_KEEPALIVE) {
|
||||||
res = 0;
|
res = 0;
|
||||||
ast_moh_stop(chan);
|
ast_moh_stop(chan);
|
||||||
|
}
|
||||||
leave_queue(&qe);
|
leave_queue(&qe);
|
||||||
} else {
|
} else {
|
||||||
ast_log(LOG_WARNING, "Unable to join queue '%s'\n", queuename);
|
ast_log(LOG_WARNING, "Unable to join queue '%s'\n", queuename);
|
||||||
|
|||||||
Reference in New Issue
Block a user