diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-07-19 19:23:39 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-07-19 19:23:39 +0000 |
commit | 5a8f32703c445f7d09b5e029e85d76692626a67f (patch) | |
tree | b8ad7eea354b19249f7ccf593f65584e5c1b5625 /main/stasis_channels.c | |
parent | 0b83761f9a99d18105ad6cb13dd0282a85641f03 (diff) |
Filter channels used as internal mechanisms
This adds new flags to the channel tech properties that flag it as
different types of implementation detail used exclusively to provide a
feature. Examples of channels that would have these flags include the
announcement and recording channels used by confbridge which are the
only two marked as such by this patch.
Review: https://reviewboard.asterisk.org/r/2633/
(closes issue ASTERISK-21873)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/stasis_channels.c')
-rw-r--r-- | main/stasis_channels.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/stasis_channels.c b/main/stasis_channels.c index be6521356..36a953e26 100644 --- a/main/stasis_channels.c +++ b/main/stasis_channels.c @@ -256,6 +256,7 @@ struct ast_channel_snapshot *ast_channel_snapshot_create(struct ast_channel *cha snapshot->manager_vars = ast_channel_get_manager_vars(chan); snapshot->channel_vars = ast_channel_get_vars(chan); + snapshot->tech_properties = ast_channel_tech(chan)->properties; ao2_ref(snapshot, +1); return snapshot; |