diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 82bf9a5da9..4029d98920 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -5026,11 +5026,10 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_m if (!switch_strlen_zero(perpetual_sound)) { conference->perpetual_sound = switch_core_strdup(conference->pool, perpetual_sound); - conference->mflags = MFLAG_CAN_HEAR; - } else { - conference->mflags = MFLAG_CAN_SPEAK | MFLAG_CAN_HEAR; } + conference->mflags = MFLAG_CAN_SPEAK | MFLAG_CAN_HEAR; + if (!switch_strlen_zero(moh_sound) && switch_is_moh(moh_sound)) { conference->moh_sound = switch_core_strdup(conference->pool, moh_sound); }