[Freeswitch-svn] [commit] r11075 - freeswitch/trunk/src/mod/applications/mod_conference

FreeSWITCH SVN anthm at freeswitch.org
Mon Jan 5 12:44:45 PST 2009


Author: anthm
Date: Mon Jan  5 14:44:45 2009
New Revision: 11075

Log:
make conference verbose-events param to control if events have all the channel data or not

Modified:
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Mon Jan  5 14:44:45 2009
@@ -405,9 +405,15 @@
 	if (member->conference) {
 		status = conference_add_event_data(member->conference, event);
 
-		if (member->conference->verbose_events && member->session) {
+		if (member->session) {
 			switch_channel_t *channel = switch_core_session_get_channel(member->session);
-			switch_channel_event_set_data(channel, event);
+
+			if (member->conference->verbose_events) {
+				switch_channel_event_set_data(channel, event);
+			} else {
+				switch_channel_event_set_basic_data(channel, event);
+			}
+
 		}
 	}
 



More information about the Freeswitch-svn mailing list