mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
FS-3794
This commit is contained in:
parent
f4774047b8
commit
d5f47a87ce
@ -2503,8 +2503,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||||||
if (!strcasecmp(astate, "hangup")) {
|
if (!strcasecmp(astate, "hangup")) {
|
||||||
astate = "terminated";
|
astate = "terminated";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!sofia_test_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY)) {
|
if (sofia_test_pflag(profile, PFLAG_PRESENCE_DISABLE_EARLY)) {
|
||||||
if (!strcasecmp(astate, "ringing") || !strcasecmp(astate, "early")) {
|
if (!strcasecmp(astate, "ringing") || !strcasecmp(astate, "early")) {
|
||||||
astate = "confirmed";
|
astate = "confirmed";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user