[sr-dev] [kamailio/kamailio] presence: subsription double delete fix (#1163)

Dmitri Savolainen notifications at github.com
Fri Jun 23 18:17:28 CEST 2017


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 at 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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1163
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170623/71bcb355/attachment.html>


More information about the sr-dev mailing list