summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-04-10 15:34:47 +0000
committerDavid M. Lee <dlee@digium.com>2013-04-10 15:34:47 +0000
commitff7ecd3dbfbf4e471ec45edc0a339c9dec350897 (patch)
treeb7aece5ae3c07134a624e78aecd6d6515f7e8d99 /main
parent1f3fff7b91c7ca821e30267ab13db7341d89f122 (diff)
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
Diffstat (limited to 'main')
-rw-r--r--main/stasis_channels.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/stasis_channels.c b/main/stasis_channels.c
index 4fc6319e5..363ceb7e4 100644
--- a/main/stasis_channels.c
+++ b/main/stasis_channels.c
@@ -153,6 +153,9 @@ struct ast_channel_snapshot *ast_channel_snapshot_create(struct ast_channel *cha
snapshot->amaflags = ast_channel_amaflags(chan);
snapshot->hangupcause = ast_channel_hangupcause(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);
return snapshot;