diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c index 829ddccd96..3310fe5418 100644 --- a/src/mod/applications/mod_conference/conference_api.c +++ b/src/mod/applications/mod_conference/conference_api.c @@ -3397,6 +3397,7 @@ switch_status_t conference_api_sub_record(conference_obj_t *conference, switch_s if (!strcmp(path_a, path_b)) { stream->write_function(stream, "-ERR file [%s] is already being used for recording.\n", rec->path); + switch_mutex_unlock(conference->flag_mutex); return SWITCH_STATUS_SUCCESS; } }