mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_stasis: Extend bridge type to be a comma separated list of bridge attributes.
This change turns the bridge type field into a comma separated list of attributes. These attributes include: mixing, holding, dtmf_events, and proxy_media. By setting the various attributes a user can control the type of bridge created with the behavior they need for their application. (closes issue ASTERISK-23437) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/3359/ ........ Merged revisions 410904 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -52,7 +52,7 @@ struct ast_ari_bridges_list_args {
|
||||
void ast_ari_bridges_list(struct ast_variable *headers, struct ast_ari_bridges_list_args *args, struct ast_ari_response *response);
|
||||
/*! \brief Argument struct for ast_ari_bridges_create() */
|
||||
struct ast_ari_bridges_create_args {
|
||||
/*! \brief Type of bridge to create. */
|
||||
/*! \brief Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media). */
|
||||
const char *type;
|
||||
/*! \brief Unique ID to give to the bridge being created. */
|
||||
const char *bridge_id;
|
||||
@@ -82,7 +82,7 @@ int ast_ari_bridges_create_parse_body(
|
||||
void ast_ari_bridges_create(struct ast_variable *headers, struct ast_ari_bridges_create_args *args, struct ast_ari_response *response);
|
||||
/*! \brief Argument struct for ast_ari_bridges_create_or_update_with_id() */
|
||||
struct ast_ari_bridges_create_or_update_with_id_args {
|
||||
/*! \brief Set the type of bridge. */
|
||||
/*! \brief Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media) to set. */
|
||||
const char *type;
|
||||
/*! \brief Unique ID to give to the bridge being created. */
|
||||
const char *bridge_id;
|
||||
|
Reference in New Issue
Block a user