diff options
author | Kinsey Moore <kmoore@digium.com> | 2014-11-13 15:46:48 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2014-11-13 15:46:48 +0000 |
commit | 74e706878b4528e7d6db26e129f2f0d7346dbf0b (patch) | |
tree | 94d34a5f410a76883eade45d7d7e5392f02dd31a /include/asterisk/stasis_app.h | |
parent | cc4c396647222acecd2e8bc1bc1bdc859899c038 (diff) |
Stasis: Fix StasisEnd message ordering
This change corrects message ordering in cases where a channel-related
message can be received after a Stasis/ARI application has received the
StasisEnd message. The StasisEnd message was being passed to
applications directly without waiting for the channel topic to empty.
As a result of this fix, other bugs were also identified and fixed:
* StasisStart messages were also being sent directly to apps and are
now routed through the stasis message bus properly
* Masquerade monitor datastores were being removed at the incorrect
time in some cases and were causing StasisEnd messages to not be sent
* General refactoring where necessary for the above
* Unsubscription on StasisEnd timing changes to prevent additional
messages from following the StasisEnd when they shouldn't
A channel sanitization function pointer was added to reduce processing
and AO2 lookups.
Review: https://reviewboard.asterisk.org/r/4163/
ASTERISK-24501 #close
Reported by: Matt Jordan
........
Merged revisions 427788 from http://svn.asterisk.org/svn/asterisk/branches/12
........
Merged revisions 427789 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/stasis_app.h')
-rw-r--r-- | include/asterisk/stasis_app.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asterisk/stasis_app.h b/include/asterisk/stasis_app.h index 2e5901cb6..e47275480 100644 --- a/include/asterisk/stasis_app.h +++ b/include/asterisk/stasis_app.h @@ -791,11 +791,6 @@ void stasis_app_unref(void); struct stasis_message_sanitizer *stasis_app_get_sanitizer(void); /*! - * \brief Stasis message type for a StasisEnd event - */ -struct stasis_message_type *ast_stasis_end_message_type(void); - -/*! * \brief Indicate that this channel has had a StasisEnd published for it * * \param The channel that is exiting Stasis. |