mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 20:54:15 +00:00
Adding ability to require authentication for sip messages on a sofia profile.
This commit is contained in:
1 parent
5144700927
commit
fca349941e
4 files changed
+48
No files matched your search
@@ -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