From 7c170893e4381229f8f6ee185813a58b0b3b4f41 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 14 Dec 2006 17:58:17 +0000 Subject: [PATCH] add some events git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3653 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index a8fde205e4..73c261c94c 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -892,13 +892,13 @@ static void conference_loop(conference_member_t *member) 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 @@ static void conference_loop(conference_member_t *member) 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"; } }