Ensure that pvt cause information does not break native bridging
authorKinsey Moore <kmoore@digium.com>
Tue, 19 Jun 2012 21:13:41 +0000 (21:13 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 19 Jun 2012 21:13:41 +0000 (21:13 +0000)
commitf080be134edec9e9fd7dc9175170db6fd946a010
tree3531d5107d293d97ba5ef1e9dd955e4f63fbdc86
parent91157d5c2bdbc9eb44b799fde0df0841a34bfa4c
Ensure that pvt cause information does not break native bridging

Channel drivers that allow native bridging need to handle
AST_CONTROL_PVT_CAUSE_CODE frames and previously did not handle them
properly, usually breaking out of the native bridge. This change
corrects that behavior and exposes the available cause code information
to the dialplan while native bridges are in place. This required
exposing the HANGUPCAUSE hash setter outside of channel.c, so
additional documentation has been added.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/chan_iax2.c
channels/chan_misdn.c
include/asterisk/channel.h
main/channel.c
main/rtp_engine.c