From: Brian West Date: Wed, 30 Jan 2008 15:59:11 +0000 (+0000) Subject: one more tweak X-Git-Tag: v1.0-rc1~483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21602675ecef67fafe8d5031aec88dcc6caa2101;p=thirdparty%2Ffreeswitch.git one more tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7436 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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)) {