add multiple-registrations flag to the core similar to mod_sofia

This commit is contained in:
Anthony Minessale
2011-02-17 12:12:43 -06:00
parent 4b62ff799e
commit b36a7c0ba6
3 changed files with 11 additions and 1 deletions

View File

@@ -1549,6 +1549,8 @@ static void switch_load_core_config(const char *file)
if (tmp > -1 && tmp < 11) {
switch_core_session_ctl(SCSC_DEBUG_LEVEL, &tmp);
}
} else if (!strcasecmp(var, "multiple-registrations")) {
runtime.multiple_registrations = switch_true(val);
} else if (!strcasecmp(var, "sql-buffer-len")) {
int tmp = atoi(val);