diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index a4b2399ae7..09d97d8975 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4750,6 +4750,10 @@ SWITCH_STANDARD_APP(conference_function) if(switch_strlen_zero(conference->moh_sound)) { conference->moh_sound = switch_core_strdup(conference->pool, switch_channel_get_variable(channel, "conference_moh_sound")); } + /* Set perpetual-sound from variable if not set */ + if(switch_strlen_zero(conference->perpetual_sound)) { + conference->perpetual_sound = switch_core_strdup(conference->pool, switch_channel_get_variable(channel, "conference_perpetual_sound")); + } /* Set the minimum number of members (once you go above it you cannot go below it) */ conference->min = 1;