[Asterisk-cvs] asterisk/channels chan_zap.c,1.396,1.397
markster at lists.digium.com
markster at lists.digium.com
Fri Jan 7 15:13:16 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv1435/channels
Modified Files:
chan_zap.c
Log Message:
Make sure we clear out owner in SUB_REAL when moving a call (bug #3267)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -d -r1.396 -r1.397
--- chan_zap.c 5 Jan 2005 22:40:42 -0000 1.396
+++ chan_zap.c 7 Jan 2005 21:18:00 -0000 1.397
@@ -7148,6 +7148,7 @@
ast_log(LOG_WARNING, "Whoa, there's no owner, and we're having to fix up channel %d to channel %d\n", pri->pvts[x]->channel, pri->pvts[principle]->channel);
pri->pvts[principle]->call = pri->pvts[x]->call;
/* Free up the old channel, now not in use */
+ pri->pvts[x]->subs[SUB_REAL].owner = NULL;
pri->pvts[x]->owner = NULL;
pri->pvts[x]->call = NULL;
}
More information about the svn-commits
mailing list