summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 26720397c..3b3931058 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -1910,7 +1910,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 < 2)
break;
} else {
/* Well, if it's not reasonable, just send in-band */