diff --git a/apps/app_dial.c b/apps/app_dial.c index 472f14436574686c8da0038cd633c66fa9167f5f..eff1214b38fca25bb1c7a6650dbf8afc7e37d237 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);