mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-3794
This commit is contained in:
parent
2c52f23643
commit
ca4c800fb3
@ -1124,7 +1124,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
|
||||
|
||||
|
||||
switch_safe_free(sql);
|
||||
|
||||
#if 0
|
||||
if (hup && dh.hits > 0) {
|
||||
/* sigh, mangle this packet to simulate a call that is up instead of hungup */
|
||||
event->flags |= EF_UNIQ_HEADERS;
|
||||
@ -1155,7 +1155,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event)
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "answer-state", "confirmed");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (zstr(call_id) && (dh.hits && presence_source && (!strcasecmp(presence_source, "register") || switch_stristr("register", status)))) {
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user