From: David M. Lee Date: Wed, 10 Apr 2013 15:34:47 +0000 (+0000) Subject: Fixed manager channelvars support. X-Git-Tag: 13.0.0-beta1~1937 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff7ecd3dbfbf4e471ec45edc0a339c9dec350897;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/stasis_channels.c b/main/stasis_channels.c index 4fc6319e5c..363ceb7e42 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;