projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89a2bc
)
Add one more thing to the previous one
author
Martin Pycko
<martinp@digium.com>
Mon, 25 Aug 2003 20:47:55 +0000
(20:47 +0000)
committer
Martin Pycko
<martinp@digium.com>
Mon, 25 Aug 2003 20:47:55 +0000
(20:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1430
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
6468f14
..
2c8da8d
100755
(executable)
--- 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);