[asterisk-commits] dlee: branch dlee/performance r399455 - /team/dlee/performance/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 19 09:20:21 CDT 2013


Author: dlee
Date: Thu Sep 19 09:20:19 2013
New Revision: 399455

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399455
Log:
So that's why we're publishing the snapshot. core show channel.

Modified:
    team/dlee/performance/main/pbx.c

Modified: team/dlee/performance/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/performance/main/pbx.c?view=diff&rev=399455&r1=399454&r2=399455
==============================================================================
--- team/dlee/performance/main/pbx.c (original)
+++ team/dlee/performance/main/pbx.c Thu Sep 19 09:20:19 2013
@@ -11101,6 +11101,10 @@
 			ast_verb(2, "Setting global variable '%s' to '%s'\n", name, value);
 		AST_LIST_INSERT_HEAD(headp, newvariable, entries);
 		ast_channel_publish_varset(chan, name, value);
+
+		if (headp != &globals) {
+			ast_channel_publish_snapshot(chan);
+		}
 	}
 
 	if (chan)




More information about the asterisk-commits mailing list