mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 11:43:52 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user