[Freeswitch-svn] [commit] r13048 - freeswitch/trunk/src/mod/applications/mod_conference
FreeSWITCH SVN
rupa at freeswitch.org
Wed Apr 15 16:36:35 PDT 2009
Author: rupa
Date: Wed Apr 15 18:36:34 2009
New Revision: 13048
Log:
set perpetual_sound from channel var
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 18:36:34 2009
@@ -4750,6 +4750,10 @@
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;
More information about the Freeswitch-svn
mailing list