diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d73a47114e862b86ba5a0e7b51dca5fd038d6f53..3ee3107ad470f5196617a856888854e070076351 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 */