Revision
15171
Author
anthm
Date
2009-10-16 14:09:11 -0500 (Fri, 16 Oct 2009)

Log Message

MODAPP-349

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (15170 => 15171)


--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	2009-10-16 17:55:06 UTC (rev 15170)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	2009-10-16 19:09:11 UTC (rev 15171)
@@ -974,7 +974,7 @@
 
   		if (conference->perpetual_sound && !conference->async_fnode) {
 			conference_play_file(conference, conference->perpetual_sound, CONF_DEFAULT_LEADIN, NULL, 1);
-		} else if (conference->moh_sound && conference->count == 1 && !conference->async_fnode) {
+		} else if (conference->moh_sound && (conference->count == 1 || switch_test_flag(conference, CFLAG_WAIT_MOD)) && !conference->async_fnode) {
 			conference_play_file(conference, conference->moh_sound, CONF_DEFAULT_LEADIN, NULL, 1);
 		}