Fix PRI/BRI channels when in alarm condition to only be marked for hangup if

T309 is not enabled.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2009-08-10 17:17:06 +00:00
parent bc0a3453cd
commit 93b6a46fde
2 changed files with 4 additions and 8 deletions

View File

@@ -2500,12 +2500,11 @@ void sig_pri_chan_alarm_notify(struct sig_pri_chan *p, int noalarm)
} else
ast_log(LOG_WARNING, "Failed to grab PRI!\n");
} else
ast_log(LOG_WARNING, "Failed to grab PRI!\n");
} else
ast_log(LOG_WARNING, "The PRI Call has not been destroyed\n");
ast_log(LOG_WARNING, "The PRI Call has not been destroyed\n");
}
if (p->owner)
ast_softhangup_nolock(p->owner, AST_SOFTHANGUP_DEV);
}
if (p->owner)
ast_softhangup_nolock(p->owner, AST_SOFTHANGUP_DEV);
} else {
p->inalarm = 0;
}