Fix for when libpri is not installed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 23 years ago
parent 29802d2ff5
commit d21648495a

@ -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);

Loading…
Cancel
Save