-
- Downloads
Bridge core: Pass a ref with the swap channel when joining a bridge.
When code imparts a channel into a bridge to swap with another channel, a ref needs to be held on the swap channel to ensure that it cannot dissapear before finding it in the bridge. * The ast_bridge_join() swap channel parameter now always steals a ref for the swap channel. This is the only change to the bridge framework's public API semantics. * bridge_channel_internal_join() now requires the bridge_channel->swap channel to pass in a ref. ASTERISK-24649 Reported by: John Bigelow Review: https://reviewboard.asterisk.org/r/4354/ ........ Merged revisions 430975 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- include/asterisk/bridge.h 7 additions, 3 deletionsinclude/asterisk/bridge.h
- include/asterisk/bridge_channel_internal.h 14 additions, 5 deletionsinclude/asterisk/bridge_channel_internal.h
- include/asterisk/bridge_internal.h 3 additions, 0 deletionsinclude/asterisk/bridge_internal.h
- main/bridge.c 18 additions, 2 deletionsmain/bridge.c
- main/bridge_channel.c 12 additions, 1 deletionmain/bridge_channel.c
Loading
Please register or sign in to comment