FS-10067: [mod_sofia] add update-refresher profile param and sip_update_refresher channel var to use update for session timers

This commit is contained in:
Mike Jerris
2017-03-03 11:01:12 -06:00
parent 2c0f5cfcbb
commit 2f4c9b363e
4 changed files with 22 additions and 1 deletions
+6
View File
@@ -5281,6 +5281,12 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
} else {
sofia_clear_pflag(profile, PFLAG_PRESENCE_PRIVACY);
}
} else if (!strcasecmp(var, "update-refresher")) {
if (switch_true(val)) {
sofia_set_pflag(profile, PFLAG_UPDATE_REFRESHER);
} else {
sofia_clear_pflag(profile, PFLAG_UPDATE_REFRESHER);
}
} else if (!strcasecmp(var, "manage-shared-appearance")) {
if (switch_true(val)) {
sofia_set_pflag(profile, PFLAG_MANAGE_SHARED_APPEARANCE);