mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 03:34:15 +00:00
FS-4106 --resolve
This commit is contained in:
1 parent
11bf6f468d
commit
1145905513
3 files changed
+20
-1
No files matched your search
@@ -4213,6 +4213,12 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
} else if (switch_true(val)) {
|
||||
profile->pres_type = PRES_TYPE_FULL;
|
||||
}
|
||||
} else if (!strcasecmp(var, "presence-hold-state")) {
|
||||
if (!strcasecmp(val, "confirmed")) {
|
||||
profile->pres_held_type = PRES_HELD_CONFIRMED;
|
||||
} else if (!strcasecmp(val, "terminated")) {
|
||||
profile->pres_held_type = PRES_HELD_TERMINATED;
|
||||
}
|
||||
} else if (!strcasecmp(var, "presence-privacy")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_PRESENCE_PRIVACY);
|
||||
|
||||
Reference in new issue
Block a user