mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 09:46:22 +00:00
Fix double ring...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user