]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a crash in the end_bridge_callback of app_dial and
authorMark Michelson <mmichelson@digium.com>
Tue, 18 Nov 2008 18:25:55 +0000 (18:25 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 18 Nov 2008 18:25:55 +0000 (18:25 +0000)
commit3429c9de5efede907dc34ebb4cda555081961e94
treee3cb4dc86b73c0b29908ff4869066745f0c7ba1a
parent9bfbfb549627a530fcacecae31eca5f4bbc0c23d
Fix a crash in the end_bridge_callback of app_dial and
app_followme which would occur at the end of an attended
transfer. The error occurred because we initially stored
a pointer to an ast_channel which then was hung up due
to a masquerade.

This commit adds a "fixup" callback to the bridge_config
structure to allow for end_bridge_callback_data to be
changed in the case that a new channel pointer is needed
for the end_bridge_callback.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@157305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c
apps/app_followme.c
channels/chan_local.c
include/asterisk/channel.h
res/res_features.c