diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-08 04:20:54 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-08 04:20:54 +0000 |
commit | bccd2d77faaabcf3151f5b77c2d12764b29513b1 (patch) | |
tree | 6ea9fbe16ea69bce4121f2b9ce4feeca4eccce8c /channels | |
parent | 5a6bc4d4fea0fda6eab57a1d6f93833b911fd7f5 (diff) |
Fix for when libpri is not installed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1277 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 617d58326..7a9ba57c7 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); |