diff options
author | Kinsey Moore <kmoore@digium.com> | 2014-06-26 12:43:47 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2014-06-26 12:43:47 +0000 |
commit | e977b7936b02bcd33a35bf7c4e5b51f496f727e5 (patch) | |
tree | 02c6fd7d4127021f3e20f783e350da4d78123bbd /include/asterisk/bridge_features.h | |
parent | 22e62ac6f640f6442968e5ab9146d3a7fe496f95 (diff) |
Bridging: Allow channels to define bridging hooks
This patch allows the current owner of a channel to define various
feature hooks to be made available once the channel has entered a
bridge. This includes any hooks that are setup on the
ast_bridge_features struct such as DTMF hooks, bridge event hooks
(join, leave, etc.), and interval hooks.
Review: https://reviewboard.asterisk.org/r/3649/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/bridge_features.h')
-rw-r--r-- | include/asterisk/bridge_features.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/bridge_features.h b/include/asterisk/bridge_features.h index 2f89be9b2..dddc9b043 100644 --- a/include/asterisk/bridge_features.h +++ b/include/asterisk/bridge_features.h @@ -722,6 +722,14 @@ int ast_bridge_features_set_limits(struct ast_bridge_features *features, struct void ast_bridge_features_set_flag(struct ast_bridge_features *features, unsigned int flag); /*! + * \brief Merge one ast_bridge_features into another + * + * \param into The ast_bridge_features that will be merged into + * \param from The ast_bridge_features that will be merged from + */ +void ast_bridge_features_merge(struct ast_bridge_features *into, const struct ast_bridge_features *from); + +/*! * \brief Initialize bridge features structure * * \param features Bridge featues structure |