[asterisk-commits] file: branch file/bridging r107348 - /team/file/bridging/apps/app_confbridge.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 10 21:05:05 CDT 2008


Author: file
Date: Mon Mar 10 21:05:04 2008
New Revision: 107348

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107348
Log:
Fix bug where if there were more then 2 people in the conference bridge the count was not announced.

Modified:
    team/file/bridging/apps/app_confbridge.c

Modified: team/file/bridging/apps/app_confbridge.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/apps/app_confbridge.c?view=diff&rev=107348&r1=107347&r2=107348
==============================================================================
--- team/file/bridging/apps/app_confbridge.c (original)
+++ team/file/bridging/apps/app_confbridge.c Mon Mar 10 21:05:04 2008
@@ -220,6 +220,13 @@
 		if (ast_test_flag(&first_participant->flags, OPTION_MUSICONHOLD) && !ast_bridge_suspend(conference_bridge->bridge, first_participant->chan)) {
 			ast_moh_stop(first_participant->chan);
 			ast_bridge_unsuspend(conference_bridge->bridge, first_participant->chan);
+		}
+	} else {
+		/* Announce number of users if need be */
+		if (ast_test_flag(&conference_bridge_user->flags, OPTION_ANNOUNCEUSERCOUNT)) {
+			AST_LIST_UNLOCK(&conference_bridges);
+			announce_user_count(conference_bridge, conference_bridge_user);
+			AST_LIST_LOCK(&conference_bridges);
 		}
 	}
 




More information about the asterisk-commits mailing list