From b35f328717ba361412fe236e02935909b1a295ea Mon Sep 17 00:00:00 2001 From: jim Date: Sun, 23 Mar 2003 19:24:59 +0000 Subject: One mo app_dial fix git-svn-id: http://svn.digium.com/svn/asterisk/trunk@679 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_dial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_dial.c') diff --git a/apps/app_dial.c b/apps/app_dial.c index 472f14436..eff1214b3 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -548,13 +548,13 @@ static int dial_exec(struct ast_channel *chan, void *data) if (!strcmp(chan->type,"Zap")) { int x = 2; - if (tmp->dataquality | tmp->clearchannel) x = 0; + if (tmp->dataquality || tmp->clearchannel) x = 0; ast_channel_setoption(chan,AST_OPTION_TONE_VERIFY,&x,sizeof(char),0); } if (!strcmp(peer->type,"Zap")) { int x = 2; - if (tmp->dataquality) x = 0; + if (tmp->dataquality || tmp->clearchannel) x = 0; ast_channel_setoption(peer,AST_OPTION_TONE_VERIFY,&x,sizeof(char),0); } hanguptree(outgoing, peer); -- cgit v1.2.3