Merge pull request #1777 from greenbea/patch-15

[mod_sofia] Fix PRESENCE_PROBE firing on rejection
This commit is contained in:
Andrey Volk
2022-08-30 02:42:26 +03:00
committed by GitHub
+2 -1
View File
@@ -4325,7 +4325,6 @@ void sofia_presence_handle_sip_i_subscribe(int status,
switch_event_fire(&event);
}
end:
if (strcasecmp(event, "call-info") && strcasecmp(event, "line-seize")) {
@@ -4407,6 +4406,8 @@ void sofia_presence_handle_sip_i_subscribe(int status,
}
}
end:
if (event) {
su_free(nua_handle_get_home(nh), event);
}