[asterisk-commits] file: branch file/bridging r106506 - /team/file/bridging/main/bridging.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 6 19:12:17 CST 2008
Author: file
Date: Thu Mar 6 19:12:16 2008
New Revision: 106506
URL: http://svn.digium.com/view/asterisk?view=rev&rev=106506
Log:
Due to the way we do transfers it is possible for an answer control frame to reach the bridge. If this happens we just want to discard it.
Modified:
team/file/bridging/main/bridging.c
Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=106506&r1=106505&r2=106506
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Thu Mar 6 19:12:16 2008
@@ -188,6 +188,8 @@
ast_bridge_change_state(bridge_channel, AST_BRIDGE_CHANNEL_STATE_END);
/* Perform bridge dissolving stuff if needed */
bridge_check_dissolve(bridge, bridge_channel);
+ } else if (frame->frametype == AST_FRAME_CONTROL && frame->subclass == AST_CONTROL_ANSWER) {
+ ast_debug(1, "Dropping answer frame from bridge channel %p\n", bridge_channel);
} else {
if (frame->frametype == AST_FRAME_DTMF_BEGIN)
frame = bridge_handle_dtmf(bridge, bridge_channel, frame);
More information about the asterisk-commits
mailing list