Skip to content
Snippets Groups Projects
Commit ff7ecd3d authored by David M. Lee's avatar David M. Lee
Browse files

Fixed manager channelvars support.

For the events that have been ported to Stasis, this was broken in
r384910, when a couple of lines of code was lost in a merge.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@385236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 1f3fff7b
Branches
Tags
No related merge requests found
...@@ -153,6 +153,9 @@ struct ast_channel_snapshot *ast_channel_snapshot_create(struct ast_channel *cha ...@@ -153,6 +153,9 @@ struct ast_channel_snapshot *ast_channel_snapshot_create(struct ast_channel *cha
snapshot->amaflags = ast_channel_amaflags(chan); snapshot->amaflags = ast_channel_amaflags(chan);
snapshot->hangupcause = ast_channel_hangupcause(chan); snapshot->hangupcause = ast_channel_hangupcause(chan);
snapshot->flags = *ast_channel_flags(chan); snapshot->flags = *ast_channel_flags(chan);
snapshot->caller_pres = ast_party_id_presentation(&ast_channel_caller(chan)->id);
snapshot->manager_vars = ast_channel_get_manager_vars(chan);
ao2_ref(snapshot, +1); ao2_ref(snapshot, +1);
return snapshot; return snapshot;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment