mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-08 12:34:53 +00:00
add presence-disable-early sofia option to send non-specifc presence messages w/o special case for early
This commit is contained in:
1 parent
8f05f098cf
commit
9b02315282
3 files changed
+20
-1
No files matched your search
@@ -3035,6 +3035,12 @@ switch_status_t reconfig_sofia(sofia_profile_t *profile)
|
||||
} else {
|
||||
sofia_clear_pflag(profile, PFLAG_T38_PASSTHRU);
|
||||
}
|
||||
} else if (!strcasecmp(var, "presence-disable-early")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY);
|
||||
} else {
|
||||
sofia_clear_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY);
|
||||
}
|
||||
} else if (!strcasecmp(var, "ignore-183nosdp")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_IGNORE_183NOSDP);
|
||||
@@ -3809,6 +3815,12 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
||||
} else {
|
||||
sofia_clear_pflag(profile, PFLAG_T38_PASSTHRU);
|
||||
}
|
||||
} else if (!strcasecmp(var, "presence-disable-early")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY);
|
||||
} else {
|
||||
sofia_clear_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY);
|
||||
}
|
||||
} else if (!strcasecmp(var, "ignore-183nosdp")) {
|
||||
if (switch_true(val)) {
|
||||
sofia_set_pflag(profile, PFLAG_IGNORE_183NOSDP);
|
||||
|
||||
Reference in new issue
Block a user