[asterisk-commits] rmudgett: branch 12 r400724 - in /branches/12: ./ apps/confbridge/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 8 14:12:06 CDT 2013


Author: rmudgett
Date: Tue Oct  8 14:12:03 2013
New Revision: 400724

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400724
Log:
app_confbridge: Fix duplicate default_user profile.

* Fixed looking in the wrong profiles container to see if the default_user
profile is already created in verify_default_profiles().  The bridge
profile container is never going to hold user profiles. :)
........

Merged revisions 400723 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    branches/12/   (props changed)
    branches/12/apps/confbridge/conf_config_parser.c

Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: branches/12/apps/confbridge/conf_config_parser.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/confbridge/conf_config_parser.c?view=diff&rev=400724&r1=400723&r2=400724
==============================================================================
--- branches/12/apps/confbridge/conf_config_parser.c (original)
+++ branches/12/apps/confbridge/conf_config_parser.c Tue Oct  8 14:12:03 2013
@@ -1875,7 +1875,7 @@
 		ao2_link(cfg->bridge_profiles, bridge_profile);
 	}
 
-	user_profile = ao2_find(cfg->bridge_profiles, DEFAULT_USER_PROFILE, OBJ_KEY);
+	user_profile = ao2_find(cfg->user_profiles, DEFAULT_USER_PROFILE, OBJ_KEY);
 	if (!user_profile) {
 		user_profile = user_profile_alloc(DEFAULT_USER_PROFILE);
 		if (!user_profile) {




More information about the asterisk-commits mailing list