diff options
Diffstat (limited to 'bridges/bridge_builtin_features.c')
-rw-r--r-- | bridges/bridge_builtin_features.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bridges/bridge_builtin_features.c b/bridges/bridge_builtin_features.c index 21af92855..13bf4bb8b 100644 --- a/bridges/bridge_builtin_features.c +++ b/bridges/bridge_builtin_features.c @@ -241,7 +241,11 @@ static int feature_attended_transfer(struct ast_bridge *bridge, struct ast_bridg /*! \brief Internal built in feature for hangup */ static int feature_hangup(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel, void *hook_pvt) { - /* This is very simple, we basically change the state on the bridge channel to end and the core takes care of the rest */ + /* + * This is very simple, we simply change the state on the + * bridge_channel to force the channel out of the bridge and the + * core takes care of the rest. + */ ast_bridge_change_state(bridge_channel, AST_BRIDGE_CHANNEL_STATE_END); return 0; } |