Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Phil Lavin
committed
Jul 27, 2016
1 parent
3b206c8
commit 839cf89
Showing
1 changed file
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters