mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
fix default ptime for iLBC and make new configurable global map in switch.conf.xml
This commit is contained in:
1 parent
fdba0e07fa
commit
e3c427ad28
5 files changed
+54
-9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user