aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-04 20:26:36 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-04 20:26:36 +0000
commita853b26de82287eef4beb8de8a12dbd7594058c5 (patch)
treebf3ffc1564b2e01a4b1d76bd0db59e2c6ac47ff5 /apps
parent1454c2f045bce799e26854d962f1af3d99581710 (diff)
fix broken logic (bug #4879)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@6281 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index c5d9c92b4..c7b51c19f 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);