]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5377 --resolve
authorJeff Lenk <jeff@jefflenk.com>
Sun, 16 Feb 2014 05:15:58 +0000 (23:15 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Sun, 16 Feb 2014 05:15:58 +0000 (23:15 -0600)
src/mod/applications/mod_conference/mod_conference.c

index 6518cdc53c4b087b57f26c1936b30cbd573b6d57..02bd3f9eb4d0219fc5621217aa3afcabd5cead9a 100644 (file)
@@ -8732,7 +8732,7 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_c
        if (!zstr(auto_gain_level)) {
                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;
                } else {
                        level = atoi(auto_gain_level);