Merge pull request #1777 from greenbea/patch-15
[mod_sofia] Fix PRESENCE_PROBE firing on rejection
This commit is contained in:
commit
7c18cc08d4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue