[Freeswitch-svn] [commit] r7436 - freeswitch/trunk/src/mod/applications/mod_conference
Freeswitch SVN
brian at freeswitch.org
Wed Jan 30 10:59:12 EST 2008
Author: brian
Date: Wed Jan 30 10:59:11 2008
New Revision: 7436
Modified:
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
Log:
one more tweak
Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Wed Jan 30 10:59:11 2008
@@ -4488,7 +4488,10 @@
}
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)) {
More information about the Freeswitch-svn
mailing list