Skip to content
Snippets Groups Projects
Commit 9706fc6b authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix music on hold on park

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 5d6ede10
No related branches found
No related tags found
No related merge requests found
......@@ -718,9 +718,10 @@ static int queue_exec(struct ast_channel *chan, void *data)
}
}
/* Don't allow return code > 0 */
if (res > 0 && res != AST_PBX_KEEPALIVE)
if (res > 0 && res != AST_PBX_KEEPALIVE) {
res = 0;
ast_moh_stop(chan);
ast_moh_stop(chan);
}
leave_queue(&qe);
} else {
ast_log(LOG_WARNING, "Unable to join queue '%s'\n", queuename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment