]> git.ipfire.org Git - thirdparty/asterisk.git/commit
(closes issue #13364)
authorSteve Murphy <murf@digium.com>
Thu, 11 Sep 2008 22:55:49 +0000 (22:55 +0000)
committerSteve Murphy <murf@digium.com>
Thu, 11 Sep 2008 22:55:49 +0000 (22:55 +0000)
commitaa58c91fbed6cbf18fc959a70c56cc3fb6752629
tree0eaea6bf2e6a42034f2f1bfafb59351f14bc750a
parentdca52e11c53b7853ee97bb53550526fe44aa266b
(closes issue #13364)
Reported by: mdu113

Well, fundamentally, the problems revealed in 13364 are
because of the ForkCDR call that is done before the dial.
When the bridge is in place, it's dealing with the first
(and wrong) cdr in the list.

So, I wrote a little func to zip down to the first non-locked
cdr in the chain, and thru-out the ast_bridge_call, these
results are used instead of raw chan->cdr and peer->cdr pointers.
This shouldn't affect anyone who isn't forking cdrs before a
dial, and should correct the cdr's of those that do.

So, this change ends up correcting the dstchannel
and userfield; the disposition was fixed by a previous
patch, it was OK coming into this problem.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@142575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_features.c