set perpetual_sound from channel var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13048 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
00139e9502
commit
ab7c282076
|
@ -4750,6 +4750,10 @@ SWITCH_STANDARD_APP(conference_function)
|
||||||
if(switch_strlen_zero(conference->moh_sound)) {
|
if(switch_strlen_zero(conference->moh_sound)) {
|
||||||
conference->moh_sound = switch_core_strdup(conference->pool, switch_channel_get_variable(channel, "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) */
|
/* Set the minimum number of members (once you go above it you cannot go below it) */
|
||||||
conference->min = 1;
|
conference->min = 1;
|
||||||
|
|
Loading…
Reference in New Issue