summaryrefslogtreecommitdiff
path: root/include/asterisk/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/features.h')
-rw-r--r--include/asterisk/features.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asterisk/features.h b/include/asterisk/features.h
index 9430bc4cb..af9b77749 100644
--- a/include/asterisk/features.h
+++ b/include/asterisk/features.h
@@ -43,6 +43,20 @@ enum {
int ast_bridge_call(struct ast_channel *chan, struct ast_channel *peer,struct ast_bridge_config *config);
/*!
+ * \brief Bridge a call, and add additional flags to the bridge
+ *
+ * This does the same thing as \ref ast_bridge_call, except that once the bridge
+ * is created, the provided flags are set on the bridge. The provided flags are
+ * added to the bridge's flags; they will not clear any flags already set.
+ *
+ * \param chan The calling channel
+ * \param peer The called channel
+ * \param config Bridge configuration for the channels
+ * \param flags Additional flags to set on the created bridge
+ */
+int ast_bridge_call_with_flags(struct ast_channel *chan, struct ast_channel *peer, struct ast_bridge_config *config, unsigned int flags);
+
+/*!
* \brief Add an arbitrary channel to a bridge
* \since 12.0.0
*