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:
84cbebc
)
Small but important fix for channel relocation (bug #54)
author
Mark Spencer
<markster@digium.com>
Sun, 22 Feb 2004 20:41:15 +0000
(20:41 +0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 22 Feb 2004 20:41:15 +0000
(20:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2213
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
81fd90f
..
72dbcfc
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-5887,6
+5887,7
@@
static int pri_fixup(struct zt_pri *pri, int channel, q931_call *c)
if (pri->pvt[channel]->owner) {
pri->pvt[channel]->owner->pvt->pvt = pri->pvt[channel];
pri->pvt[channel]->owner->fds[0] = pri->pvt[channel]->subs[SUB_REAL].zfd;
+ pri->pvt[channel]->subs[SUB_REAL].owner = pri->pvt[x]->subs[SUB_REAL].owner;
} else
ast_log(LOG_WARNING, "Whoa, there's no owner, and we're having to fix up channel %d to channel %d\n", x, channel);
pri->pvt[channel]->call = pri->pvt[x]->call;