Stasis: Allow message types to be blocked
authorKinsey Moore <kmoore@digium.com>
Wed, 6 Aug 2014 12:55:28 +0000 (12:55 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 6 Aug 2014 12:55:28 +0000 (12:55 +0000)
commitf1036f40dc22c4d4b30cc2ab36199cd749ead9c5
tree4fd17b406cb14b5eee97cf0be44382b792ccbff9
parentac5c75b45d9d7fe047ccd9d1d094cb9d30df8b51
Stasis: Allow message types to be blocked

This introduces stasis.conf and a mechanism to prevent certain message
types from being published. Internally, this works by preventing the
chosen message types from being created which ensures that those
message types can never be published. This patch also adjusts message
publishers such that message payloads are not created if the related
message type is not available.

ASTERISK-23943 #close
Review: https://reviewboard.asterisk.org/r/3823/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
39 files changed:
apps/app_chanspy.c
apps/app_forkcdr.c
apps/app_queue.c
configs/samples/stasis.conf.sample [new file with mode: 0644]
funcs/func_cdr.c
include/asterisk/stasis.h
main/app.c
main/bridge.c
main/ccss.c
main/cdr.c
main/channel.c
main/core_local.c
main/devicestate.c
main/endpoints.c
main/file.c
main/loader.c
main/manager.c
main/named_acl.c
main/pickup.c
main/presencestate.c
main/rtp_engine.c
main/security_events.c
main/stasis.c
main/stasis_bridges.c
main/stasis_cache.c
main/stasis_channels.c
main/stasis_endpoints.c
main/stasis_message.c
main/stasis_system.c
main/test.c
pbx/pbx_realtime.c
res/parking/parking_manager.c
res/res_corosync.c
res/res_stasis.c
res/res_stasis_snoop.c
res/res_stasis_test.c
res/res_stun_monitor.c
tests/test_stasis.c
tests/test_stasis_channels.c