From ccff3cf375bc68a9f5010f17bce3a36500a8a701 Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Sun, 14 Nov 2004 22:33:32 +0000 Subject: [PATCH] Fix bizarre construct git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4243 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- GitLab