FS-5377 --resolve

This commit is contained in:
Jeff Lenk 2014-02-15 23:02:52 -06:00
parent 5ca62ecb28
commit 458ec1c492

View File

@ -9389,7 +9389,7 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_c
if (!zstr(auto_gain_level)) { if (!zstr(auto_gain_level)) {
int level = 0; int level = 0;
if (switch_true(auto_gain_level)) { if (switch_true(auto_gain_level) && !switch_is_number(auto_gain_level)) {
level = DEFAULT_AGC_LEVEL; level = DEFAULT_AGC_LEVEL;
} else { } else {
level = atoi(auto_gain_level); level = atoi(auto_gain_level);