[asterisk-commits] rmudgett: branch rmudgett/stasis_linkedids r418154 - in /team/rmudgett/stasis...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 7 16:09:52 CDT 2014


Author: rmudgett
Date: Mon Jul  7 16:09:47 2014
New Revision: 418154

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418154
Log:
Revert adding conference to the list of stasis bridge mixing flags.

Modified:
    team/rmudgett/stasis_linkedids/res/ari/resource_bridges.h
    team/rmudgett/stasis_linkedids/res/res_stasis.c
    team/rmudgett/stasis_linkedids/rest-api/api-docs/bridges.json

Modified: team/rmudgett/stasis_linkedids/res/ari/resource_bridges.h
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/stasis_linkedids/res/ari/resource_bridges.h?view=diff&rev=418154&r1=418153&r2=418154
==============================================================================
--- team/rmudgett/stasis_linkedids/res/ari/resource_bridges.h (original)
+++ team/rmudgett/stasis_linkedids/res/ari/resource_bridges.h Mon Jul  7 16:09:47 2014
@@ -52,7 +52,7 @@
 void ast_ari_bridges_list(struct ast_variable *headers, struct ast_ari_bridges_list_args *args, struct ast_ari_response *response);
 /*! Argument struct for ast_ari_bridges_create() */
 struct ast_ari_bridges_create_args {
-	/*! Comma separated list of bridge type attributes (mixing, holding, conference, dtmf_events, proxy_media). */
+	/*! Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media). */
 	const char *type;
 	/*! Unique ID to give to the bridge being created. */
 	const char *bridge_id;
@@ -82,7 +82,7 @@
 void ast_ari_bridges_create(struct ast_variable *headers, struct ast_ari_bridges_create_args *args, struct ast_ari_response *response);
 /*! Argument struct for ast_ari_bridges_create_or_update_with_id() */
 struct ast_ari_bridges_create_or_update_with_id_args {
-	/*! Comma separated list of bridge type attributes (mixing, holding, conference, dtmf_events, proxy_media) to set. */
+	/*! Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media) to set. */
 	const char *type;
 	/*! Unique ID to give to the bridge being created. */
 	const char *bridge_id;

Modified: team/rmudgett/stasis_linkedids/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/stasis_linkedids/res/res_stasis.c?view=diff&rev=418154&r1=418153&r2=418154
==============================================================================
--- team/rmudgett/stasis_linkedids/res/res_stasis.c (original)
+++ team/rmudgett/stasis_linkedids/res/res_stasis.c Mon Jul  7 16:09:47 2014
@@ -692,11 +692,6 @@
 			flags |= AST_BRIDGE_FLAG_SMART;
 		} else if (!strcmp(requested_type, "holding")) {
 			capabilities |= AST_BRIDGE_CAPABILITY_HOLDING;
-			flags &= ~AST_BRIDGE_FLAG_SMART;
-		} else if (!strcmp(requested_type, "conference")) {
-			capabilities &= ~(STASIS_BRIDGE_MIXING_CAPABILITIES
-				& ~AST_BRIDGE_CAPABILITY_MULTIMIX);
-			flags &= ~AST_BRIDGE_FLAG_SMART;
 		} else if (!strcmp(requested_type, "dtmf_events") ||
 			!strcmp(requested_type, "proxy_media")) {
 			capabilities &= ~AST_BRIDGE_CAPABILITY_NATIVE;

Modified: team/rmudgett/stasis_linkedids/rest-api/api-docs/bridges.json
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/stasis_linkedids/rest-api/api-docs/bridges.json?view=diff&rev=418154&r1=418153&r2=418154
==============================================================================
--- team/rmudgett/stasis_linkedids/rest-api/api-docs/bridges.json (original)
+++ team/rmudgett/stasis_linkedids/rest-api/api-docs/bridges.json Mon Jul  7 16:09:47 2014
@@ -26,7 +26,7 @@
 					"parameters": [
 						{
 							"name": "type",
-							"description": "Comma separated list of bridge type attributes (mixing, holding, conference, dtmf_events, proxy_media).",
+							"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media).",
 							"paramType": "query",
 							"required": false,
 							"allowMultiple": false,
@@ -65,7 +65,7 @@
 					"parameters": [
 						{
 							"name": "type",
-							"description": "Comma separated list of bridge type attributes (mixing, holding, conference, dtmf_events, proxy_media) to set.",
+							"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media) to set.",
 							"paramType": "query",
 							"required": false,
 							"allowMultiple": false,




More information about the asterisk-commits mailing list