-
- Downloads
Rework stasis cache clear events
Stasis cache clear message payloads now consist of a stasis_message representative of the message to be cleared from the cache. This allows multiple parallel caches to coexist and be cleared properly by the same cache clear message even when keyed on different fields. This change fixes a bug where multiple cache clears could be posted for channels. The cache clear is now produced in the destructor instead of ast_hangup. Additionally, dummy channels are no longer capable of producing channel snapshots. Review: https://reviewboard.asterisk.org/r/2596 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- include/asterisk/stasis.h 13 additions, 21 deletionsinclude/asterisk/stasis.h
- main/bridging.c 19 additions, 4 deletionsmain/bridging.c
- main/channel.c 21 additions, 2 deletionsmain/channel.c
- main/endpoints.c 29 additions, 7 deletionsmain/endpoints.c
- main/stasis_cache.c 20 additions, 35 deletionsmain/stasis_cache.c
- main/stasis_channels.c 5 additions, 0 deletionsmain/stasis_channels.c
- tests/test_stasis.c 2 additions, 2 deletionstests/test_stasis.c
Loading
Please register or sign in to comment