add auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests

This commit is contained in:
Russell Treleaven
2014-05-03 13:28:54 -04:00
committed by Michael Jerris
parent 9b1ebff8de
commit 3666029ff0
4 changed files with 42 additions and 0 deletions
+4
View File
@@ -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);