[asterisk-commits] dlee: trunk r385236 - /trunk/main/stasis_channels.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 10 10:34:49 CDT 2013


Author: dlee
Date: Wed Apr 10 10:34:47 2013
New Revision: 385236

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=385236
Log:
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.

Modified:
    trunk/main/stasis_channels.c

Modified: trunk/main/stasis_channels.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/stasis_channels.c?view=diff&rev=385236&r1=385235&r2=385236
==============================================================================
--- trunk/main/stasis_channels.c (original)
+++ trunk/main/stasis_channels.c Wed Apr 10 10:34:47 2013
@@ -153,6 +153,9 @@
 	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;




More information about the asterisk-commits mailing list