[sr-dev] git:master:122e9b42: presence: Always check if a record exists for this dialog before inserting

Phil Lavin phil.lavin at synety.com
Mon Aug 22 09:40:57 CEST 2016


Module: kamailio
Branch: master
Commit: 122e9b423d1c25bf34f6d7be995b992ca61c2fa3
URL: https://github.com/kamailio/kamailio/commit/122e9b423d1c25bf34f6d7be995b992ca61c2fa3

Author: Phil Lavin <phil.lavin at synety.com>
Committer: Phil Lavin <phil.lavin at synety.com>
Date: 2016-07-22T10:49:33+01:00

presence: Always check if a record exists for this dialog before inserting

- The presence implementation is a little dubious, to say the least.
  It probably wants re-writing at some stage. However, this fixes a
  race condition that could have a number of causes in which the PUA
  is unaware of the eTag at the point it sends the PUBLISH.

---

Modified: modules/presence/presentity.c

---

Diff:  https://github.com/kamailio/kamailio/commit/122e9b423d1c25bf34f6d7be995b992ca61c2fa3.diff
Patch: https://github.com/kamailio/kamailio/commit/122e9b423d1c25bf34f6d7be995b992ca61c2fa3.patch




More information about the sr-dev mailing list