summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-11-14 22:33:32 +0000
committerMark Spencer <markster@digium.com>2004-11-14 22:33:32 +0000
commitccff3cf375bc68a9f5010f17bce3a36500a8a701 (patch)
tree9e095f138d3bb8c9133ba55e6fb0f07c71f0e29d /channels
parent015a3ca15511e5b3b203f3a5415c5cf1f8af8136 (diff)
Fix bizarre construct
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d73a47114..3ee3107ad 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 */