Module: kamailio
Branch: master
Commit: 839cf89b02f8817156487a960ff62013e3cde530
URL: 
https://github.com/kamailio/kamailio/commit/839cf89b02f8817156487a960ff62013e3cde530

Author: Phil Lavin <phil.la...@synety.com>
Committer: Phil Lavin <phil.la...@synety.com>
Date: 2016-07-27T15:04:26+01:00

presentity: don't update terminated presentity entries in the database

- Fixes a race condition caused by, for example, the call being answered
  at almost exactly the same time as the caller cancels. This causes
  a terminated state to change back to completed. The dialog is then
  removed from the database and the presentity entry stays in place
  until it expires.
- This fix explicitly prevents terminated entries being updated as the
  state machine in RFC 4235 prohibits this behaviour.

---

Modified: modules/presence/presentity.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/839cf89b02f8817156487a960ff62013e3cde530.diff
Patch: 
https://github.com/kamailio/kamailio/commit/839cf89b02f8817156487a960ff62013e3cde530.patch


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to