mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
fix broken logic (bug #4879)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -346,7 +346,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
||||
/* Ignore going off hook */
|
||||
break;
|
||||
case -1:
|
||||
if (!outgoing->ringbackonly || !outgoing->musiconhold) {
|
||||
if (!(outgoing->ringbackonly || outgoing->musiconhold)) {
|
||||
if (option_verbose > 2)
|
||||
ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", o->chan->name);
|
||||
ast_indicate(in, -1);
|
||||
|
Reference in New Issue
Block a user