mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
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
This commit is contained in:
@@ -892,7 +892,7 @@ static void destroy_conference_bridge(void *obj)
|
||||
|
||||
/* Destroying a conference bridge is simple, all we have to do is destroy the bridging object */
|
||||
if (conference->bridge) {
|
||||
ast_bridge_destroy(conference->bridge);
|
||||
ast_bridge_destroy(conference->bridge, 0);
|
||||
conference->bridge = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user