https://origsvn.digium.com/svn/asterisk/trunk
................
r106040 | kpfleming | 2008-03-05 09:40:40 -0600 (Wed, 05 Mar 2008) | 15 lines
Merged revisions 106038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r106038 | kpfleming | 2008-03-05 09:32:35 -0600 (Wed, 05 Mar 2008) | 7 lines
when a PRI call must be moved to a different B channel at the request of the other endpoint, ensure that any DSP active on the original channel is moved to the new one
(closes issue #11917)
Reported by: mavetju
Tested by: mavetju
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;
ast_log(LOG_WARNING,"Whoa, there's no owner, and we're having to fix up channel %d to channel %d\n",old->channel,new->channel);