i have timeout_rm_subs=1 (as default) and It was a lot of messages in kamailio.log like this
`Jun 23 12:08:56 kamailio[8366] ERROR: presence [subscribe.c:487]: delete_subs(): Failed to delete subscription from memory [slot: 255 ev: sip:2579*109@host pu: presence ci: 08f29987584a4e47b12110ff09e48d92 ft: 8fece9a08beb407cb0fec4c703e6f99e tt: 302fa4d0674d106ffe861f2ef3364869.711a]`
The reason is timout NOTIFY with "Subscription-State: terminated;reason=timeout"
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1163
-- Commit Summary --
* presence: subsription double delete fix
-- File Changes --
M src/modules/presence/notify.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1163.patch https://github.com/kamailio/kamailio/pull/1163.diff
Merged #1163.
Thanks!