From: Anthony Minessale Date: Sun, 20 May 2007 00:38:25 +0000 (+0000) Subject: fix for FSCORE-27 @8000k and @8000h both count as rate qualifiers advertising h going... X-Git-Tag: v1.0-beta1~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b40952a077dbf6a62c7fabc75ef313d9c59ef768;p=thirdparty%2Ffreeswitch.git fix for FSCORE-27 @8000k and @8000h both count as rate qualifiers advertising h going forward git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5204 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index 352483f691..c9ec086efe 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -1259,7 +1259,7 @@ SWITCH_DECLARE(int) switch_loadable_module_get_codecs_sorted(const switch_codec_ if (cur != name) { if (strchr(cur, 'i')) { interval = atoi(cur); - } else if (strchr(cur, 'k')) { + } else if (strchr(cur, 'k' || strchr(cur, 'h'))) { rate = atoi(cur); } }