Fix PRI timer T309 operation

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@223955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jean Galarneau
2009-10-13 20:58:17 +00:00
parent e3464ac40a
commit 7499289537

View File

@@ -4252,7 +4252,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
p->inalarm = 1;
res = get_alarms(p);
handle_alarms(p, res);
#ifdef HAVE_LIBPRI
#ifdef HAVE_PRI
if (!p->pri || !p->pri->pri || pri_get_timer(p->pri->pri, PRI_TIMER_T309) < 0) {
/* fall through intentionally */
} else {