mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 03:51:48 +00:00
try alternate technique
This commit is contained in:
parent
0a6dde7baa
commit
af439fa574
@ -2507,7 +2507,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||||||
|
|
||||||
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";
|
goto end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2751,6 +2751,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||||||
|
|
||||||
send_presence_notify(profile, full_to, full_from, contact, expires, call_id, event, ip, port, ct, pl, NULL);
|
send_presence_notify(profile, full_to, full_from, contact, expires, call_id, event, ip, port, ct, pl, NULL);
|
||||||
|
|
||||||
|
|
||||||
|
end:
|
||||||
|
|
||||||
switch_safe_free(free_me);
|
switch_safe_free(free_me);
|
||||||
|
|
||||||
if (ext_profile) {
|
if (ext_profile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user