mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
[FS-11608] [core] set prefix for caller profile soft variables
This commit is contained in:
@@ -2340,6 +2340,13 @@ static void switch_load_core_config(const char *file)
|
||||
"rtp-retain-crypto-keys enabled. Could be used to decrypt secure media.\n");
|
||||
}
|
||||
switch_core_set_variable("rtp_retain_crypto_keys", val);
|
||||
} else if (!strcasecmp(var, "caller-profile-soft-variables-uses-prefix") && !zstr(val)) {
|
||||
int v = switch_true(val);
|
||||
if (v) {
|
||||
switch_set_flag((&runtime), SCF_CPF_SOFT_PREFIX);
|
||||
} else {
|
||||
switch_clear_flag((&runtime), SCF_CPF_SOFT_PREFIX);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user