From 21602675ecef67fafe8d5031aec88dcc6caa2101 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 30 Jan 2008 15:59:11 +0000 Subject: [PATCH] one more tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7436 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)) {