[commit] r13042 - freeswitch/trunk/src/mod/applications/mod_conference
Author: brian Date: Wed Apr 15 14:36:33 2009 New Revision: 13042 Log: setting the moh_sound from a variable Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original) +++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Wed Apr 15 14:36:33 2009 @@ -4746,6 +4746,11 @@ switch_channel_set_variable(channel, "conference_name", conference->name); + /* Set MOH from variable if not set */ + if(switch_strlen_zero(conference->moh_sound)) { + conference->moh_sound = switch_core_strdup(conference->pool, switch_channel_get_variable(channel, "conference_moh_sound")); + } + /* Set the minimum number of members (once you go above it you cannot go below it) */ conference->min = 1;
participants (1)
-
FreeSWITCH SVN