Fix bizarre construct

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-11-14 22:33:32 +00:00
parent 015a3ca155
commit ccff3cf375

View file

@ -1904,7 +1904,7 @@ static int sip_indicate(struct ast_channel *ast, int condition)
/* Send 180 ringing if out-of-band seems reasonable */
transmit_response(p, "180 Ringing", &p->initreq);
p->ringing = 1;
if (!p->progressinband > 1)
if (p->progressinband > 1)
break;
} else {
/* Well, if it's not reasonable, just send in-band */