[asterisk-commits] rmudgett: branch 11 r400723 - /branches/11/apps/confbridge/conf_config_parser.c

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


Author: rmudgett
Date: Tue Oct  8 14:08:12 2013
New Revision: 400723

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400723
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. :)

Modified:
    branches/11/apps/confbridge/conf_config_parser.c

Modified: branches/11/apps/confbridge/conf_config_parser.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/confbridge/conf_config_parser.c?view=diff&rev=400723&r1=400722&r2=400723
==============================================================================
--- branches/11/apps/confbridge/conf_config_parser.c (original)
+++ branches/11/apps/confbridge/conf_config_parser.c Tue Oct  8 14:08:12 2013
@@ -1306,7 +1306,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