]> git.ipfire.org Git - thirdparty/asterisk.git/commit
(closes issue #13489)
authorSteve Murphy <murf@digium.com>
Tue, 23 Sep 2008 16:41:49 +0000 (16:41 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 23 Sep 2008 16:41:49 +0000 (16:41 +0000)
commitee2d2f2caeeae3e4a0c4afd9a6142cfa9cdef18e
tree5d1f70684483d132ee3380946504a9f22477a941
parentb7a9ab7203c07a378f2615d6647bb43eca7bfb95
(closes issue #13489)
Reported by: DougUDI
Tested by: murf

(closes issue #13490)
Reported by: seanbright
Tested by: murf

(closes issue #13467)
Reported by: edantie
Tested by: murf, edantie, DougUDI

This crash happens because we are unsafely handling old pointers.
The channel whose cdr is being handled, has been hung up and
destroyed already. I reorganized the code a bit, and tried not
to lose the fork-cdr-chain concepts of the previous code.
I now verify that the 'previous' channel (the channel we
had when the bridge was started), still exists, by looking it up
by name in the channel list. I also do not try to reset the
CDR's of channels involved in bridges.

Testing shows it solves the crash problem, and should not
negatively impact previous fixes involving CDR's generated
during/after blind transfers. (The reason we need to reset
the CDR's on the "beginning" channels in the first place).

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