git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8414 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-15 17:57:14 +00:00
parent 1285e6338e
commit 89bae46bd0
1 changed files with 1 additions and 1 deletions

View File

@ -4982,7 +4982,7 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_m
conference->mflags = MFLAG_CAN_SPEAK | MFLAG_CAN_HEAR;
}
if (!switch_strlen_zero(moh_sound)) {
if (!switch_strlen_zero(moh_sound) && switch_is_moh(moh_sound)) {
conference->moh_sound = switch_core_strdup(conference->pool, moh_sound);
}