[asterisk-commits] file: branch 12 r410918 - /branches/12/res/res_stasis.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Mar 19 09:24:50 CDT 2014
Author: file
Date: Wed Mar 19 09:24:43 2014
New Revision: 410918
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=410918
Log:
res_stasis: Fix a bug where the default bridge type was not set.
Modified:
branches/12/res/res_stasis.c
Modified: branches/12/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_stasis.c?view=diff&rev=410918&r1=410917&r2=410918
==============================================================================
--- branches/12/res/res_stasis.c (original)
+++ branches/12/res/res_stasis.c Wed Mar 19 09:24:43 2014
@@ -588,7 +588,7 @@
struct ast_bridge *stasis_app_bridge_create(const char *type, const char *name, const char *id)
{
struct ast_bridge *bridge;
- char *requested_type, *requested_types = ast_strdupa(type);
+ char *requested_type, *requested_types = ast_strdupa(S_OR(type, "mixing"));
int capabilities = 0;
int flags = AST_BRIDGE_FLAG_MERGE_INHIBIT_FROM | AST_BRIDGE_FLAG_MERGE_INHIBIT_TO
| AST_BRIDGE_FLAG_SWAP_INHIBIT_FROM | AST_BRIDGE_FLAG_SWAP_INHIBIT_TO
More information about the asterisk-commits
mailing list