MODAPP-349
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15171 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
31a6e90382
commit
5fa54394cf
|
@ -974,7 +974,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
|
|||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue