mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
[FS-11609] [core] lookup values in caller profile soft variables
This commit is contained in:
@@ -2347,6 +2347,13 @@ static void switch_load_core_config(const char *file)
|
||||
} else {
|
||||
switch_clear_flag((&runtime), SCF_CPF_SOFT_PREFIX);
|
||||
}
|
||||
} else if (!strcasecmp(var, "caller-profile-soft-lookup-values") && !zstr(val)) {
|
||||
int v = switch_true(val);
|
||||
if (v) {
|
||||
switch_set_flag((&runtime), SCF_CPF_SOFT_LOOKUP);
|
||||
} else {
|
||||
switch_clear_flag((&runtime), SCF_CPF_SOFT_LOOKUP);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user