mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
Adding ability to require authentication for sip messages on a sofia profile.
This commit is contained in:
@@ -4198,6 +4198,10 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_AUTH_CALLS);
|
||||
}
|
||||
} else if (!strcasecmp(var, "auth-messages")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_AUTH_MESSAGES);
|
||||
}
|
||||
} else if (!strcasecmp(var, "extended-info-parsing")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_EXTENDED_INFO_PARSING);
|
||||
|
||||
Reference in New Issue
Block a user