From 0c67840847533006738e3007e5be02c9b61ac784 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 16 Nov 2004 03:58:46 +0000 Subject: [PATCH] Fix double ring... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4262 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 26720397cc..3b3931058e 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 */