From 150fc177cd24d623876fe3afafedc37694dedda4 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 4 Aug 2005 20:26:36 +0000 Subject: [PATCH] fix broken logic (bug #4879) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6281 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_dial.c b/apps/app_dial.c index c5d9c92b42..c7b51c19fc 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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); -- 2.47.2