From d21648495adc18ca5b236831150bcfe42e30b321 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 8 Aug 2003 04:20:54 +0000 Subject: [PATCH] Fix for when libpri is not installed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1277 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 617d583264..7a9ba57c79 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -3555,7 +3555,6 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int tmp->pvt->rawwriteformat = deflaw; tmp->writeformat = deflaw; i->subs[index].linear = 0; - i->alreadyhungup = 0; zt_setlinear(i->subs[index].zfd, i->subs[index].linear); features = 0; if (i->busydetect && CANBUSYDETECT(i)) { @@ -3636,6 +3635,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int #ifdef ZAPATA_PRI /* Assume calls are not idle calls unless we're told differently */ i->isidlecall = 0; + i->alreadyhungup = 0; #endif /* Assure there is no confmute on this channel */ zt_confmute(i, 0);