mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-27 01:04:01 +00:00
FS-3866 this should take care of the unwanted presence packets with mwi sub
This commit is contained in:
parent
60fd5f9a73
commit
b9b72661ea
@ -3546,7 +3546,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
|
||||
switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "sub-call-id", call_id);
|
||||
switch_event_fire(&sevent);
|
||||
}
|
||||
} else {
|
||||
} else if (!strcasecmp(event, "presence")) {
|
||||
if (switch_event_create(&sevent, SWITCH_EVENT_PRESENCE_IN) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "proto", SOFIA_CHAT_PROTO);
|
||||
switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "login", profile->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user