FS-3091 --resolve

This commit is contained in:
Marc Olivier Chouinard 2011-12-15 22:38:32 -05:00
parent db11e571b2
commit 14554cf328
1 changed files with 3 additions and 0 deletions

View File

@ -1857,6 +1857,9 @@ static void conference_loop_fn_lock_toggle(conference_member_t *member, caller_c
if (member == NULL) if (member == NULL)
return; return;
if (switch_test_flag(member->conference, CFLAG_WAIT_MOD) && !switch_test_flag(member, MFLAG_MOD) )
return;
if (!switch_test_flag(member->conference, CFLAG_LOCKED)) { if (!switch_test_flag(member->conference, CFLAG_LOCKED)) {
if (member->conference->is_locked_sound) { if (member->conference->is_locked_sound) {
conference_play_file(member->conference, member->conference->is_locked_sound, CONF_DEFAULT_LEADIN, NULL, 0); conference_play_file(member->conference, member->conference->is_locked_sound, CONF_DEFAULT_LEADIN, NULL, 0);