mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
add auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests
This commit is contained in:
committed by
Michael Jerris
parent
9b1ebff8de
commit
3666029ff0
@@ -4724,6 +4724,10 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_AUTH_MESSAGES);
|
||||
}
|
||||
} else if (!strcasecmp(var, "auth-subscriptions")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_AUTH_SUBSCRIPTIONS);
|
||||
}
|
||||
} 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