diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-25 20:47:55 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-25 20:47:55 +0000 |
commit | fd4014849f8e5f54c8826d89023bbe49551b177c (patch) | |
tree | e5c3a55b803245f6c42a1ba83618cd8812aa859c /channels | |
parent | 92d99f5cb0ad1ab41e9e95ca98c874a45e2ae5e3 (diff) |
Add one more thing to the previous one
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1430 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 6468f14c1..2c8da8ddd 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5123,7 +5123,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio) zt_set_hook(tmp->subs[SUB_REAL].zfd, ZT_ONHOOK); } /* the dchannel is down so put the channel in alarm */ - if (tmp->pri && tmp->pri->up == 0) { + if (tmp->pri && tmp->pri->up == 0) tmp->inalarm = 1; else tmp->inalarm = 0; @@ -5699,6 +5699,7 @@ static void *pri_dchannel(void *vpri) for (i=0; i<=pri->channels; i++) { struct zt_pvt *p = pri->pvt[i]; if (p) { + p->owner->_softhangup |= AST_SOFTHANGUP_DEV; if (p->call) { if (p->pri && p->pri->pri) pri_destroycall(p->pri->pri, p->call); |