fix default ptime for iLBC and make new configurable global map in switch.conf.xml

This commit is contained in:
Anthony Minessale committed 2010-10-08 17:04:22 -05:00
1 parent fdba0e07fa
commit e3c427ad28
5 files changed
+54 -9

No files matched your search

-9
View File
@@ -376,15 +376,6 @@ switch_mutex_unlock(obj->flag_mutex);
#define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst))
static inline uint32_t switch_default_ptime(const char *name, uint32_t number)
{
if (!strcasecmp(name, "G723")) {
return 30;
}
return 20;
}
static inline char *switch_sanitize_number(char *number)
{
char *p = number, *q;