[Freeswitch-svn] [commit] r3653 - freeswitch/trunk/src/mod/applications/mod_conference
Freeswitch SVN
anthm at freeswitch.org
Thu Dec 14 12:58:17 EST 2006
Author: anthm
Date: Thu Dec 14 12:58:17 2006
New Revision: 3653
Modified:
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
Log:
add some events
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 Thu Dec 14 12:58:17 2006
@@ -892,13 +892,13 @@
conference_member_say(member->conference, member, msg, 0);
}
} else {
+ action = "unmute-member";
switch_set_flag_locked(member, MFLAG_CAN_SPEAK);
if (member->conference->unmuted_sound) {
conference_member_play_file(member, member->conference->unmuted_sound, 0);
} else {
snprintf(msg, sizeof(msg), "Un-Muted");
conference_member_say(member->conference, member, msg, 0);
- action = "unmute-member";
}
}
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT) == SWITCH_STATUS_SUCCESS) {
@@ -924,13 +924,13 @@
conference_member_say(member->conference, member, msg, 0);
}
} else {
+ action = "unmute-deaf-member";
switch_set_flag_locked(member, MFLAG_CAN_SPEAK|MFLAG_CAN_HEAR);
if (member->conference->unmuted_sound) {
conference_member_play_file(member, member->conference->unmuted_sound, 0);
} else {
snprintf(msg, sizeof(msg), "UN-Muted");
conference_member_say(member->conference, member, msg, 0);
- action = "unmute-deaf-member";
}
}
More information about the Freeswitch-svn
mailing list