mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user