Bridge API: Set a cause code on a channel when it is ejected from a bridge.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 22 Aug 2013 21:09:52 +0000 (21:09 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 22 Aug 2013 21:09:52 +0000 (21:09 +0000)
commit477dea46616c0a6b79706f10349aaf9a87832e0e
tree50244a0102181406d83928d23e0ce45ff64169cf
parent24683444ac07743e202c6f6cae0364ee4057df4c
Bridge API: Set a cause code on a channel when it is ejected from a bridge.

The cause code needs to be passed from the disconnecting channel to the
bridge peers if the disconnecting channel dissolves the bridge.

* Made the call to an app_agent_pool agent disconnect with the busy cause
code if the agent does not ack the call in time or hangs up before acking
the call.

(closes issue ASTERISK-22042)
Reported by: Matt Jordan

Review: https://reviewboard.asterisk.org/r/2772/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 files changed:
apps/app_agent_pool.c
apps/app_bridgewait.c
apps/app_confbridge.c
apps/app_dial.c
bridges/bridge_builtin_features.c
bridges/bridge_builtin_interval_features.c
include/asterisk/bridge.h
include/asterisk/bridge_channel.h
include/asterisk/bridge_internal.h
main/bridge.c
main/bridge_basic.c
main/bridge_channel.c
main/features.c
res/parking/parking_applications.c
res/parking/parking_bridge_features.c
res/res_parking.c
res/res_stasis.c