diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 35ef69197b..24cee76d6d 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4488,7 +4488,10 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_m } if (!strcasecmp(var, "rate") && !switch_strlen_zero(val)) { - rate_name = val; + uint32_t tmp = atoi(val); + if (tmp == 8000 || tmp == 16000 || tmp == 32000) { + rate_name = val; + } } else if (!strcasecmp(var, "domain") && !switch_strlen_zero(val)) { domain = val; } else if (!strcasecmp(var, "interval") && !switch_strlen_zero(val)) {