]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 15 May 2008 17:57:14 +0000 (17:57 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 15 May 2008 17:57:14 +0000 (17:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8414 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index b463d2c7064839811034db3e053693d93fbf815c..75630fc27f5dba1d0967484d09e858c0cc118807 100644 (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);
        }