From: Mark Spencer Date: Sun, 14 Nov 2004 22:33:32 +0000 (+0000) Subject: Fix bizarre construct X-Git-Tag: 1.2.0-beta1~1831 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ccff3cf375bc68a9f5010f17bce3a36500a8a701;p=thirdparty%2Fasterisk.git Fix bizarre construct git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4243 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d73a47114e..3ee3107ad4 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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 */