Module: kamailio Branch: master Commit: 839cf89b02f8817156487a960ff62013e3cde530 URL: https://github.com/kamailio/kamailio/commit/839cf89b02f8817156487a960ff62013...
Author: Phil Lavin phil.lavin@synety.com Committer: Phil Lavin phil.lavin@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/839cf89b02f8817156487a960ff62013... Patch: https://github.com/kamailio/kamailio/commit/839cf89b02f8817156487a960ff62013...