mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Fix feature_attended_transfer test
The feature_attended_transfer test is failing due to Asterisk not passing DTMF in the bridges created for internal attended transfers. This sets the features initialization routine to set this flag by default and adjusts the basic bridge and confbridge's use of the bridging system accordingly as per Richard's suggestion instead of adjusting this individual case. This change allows the necessary DTMF to pass through the attended transfer bridge and complete the test successfully. Review: https://reviewboard.asterisk.org/r/2759/ (closes issue ASTERISK-22222) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -797,9 +797,6 @@ int ast_bridge_channel_setup_features(struct ast_bridge_channel *bridge_channel)
|
||||
{
|
||||
int res = 0;
|
||||
|
||||
/* Always pass through any DTMF digits. */
|
||||
bridge_channel->features->dtmf_passthrough = 1;
|
||||
|
||||
res |= setup_bridge_features_builtin(bridge_channel->features, bridge_channel->chan);
|
||||
res |= setup_bridge_features_dynamic(bridge_channel->features, bridge_channel->chan);
|
||||
|
||||
|
Reference in New Issue
Block a user