From: Rusty Newton Date: Mon, 4 Aug 2014 19:44:08 +0000 (+0000) Subject: Manager - Improve documentation for manager commands Getvar and Setvar. X-Git-Tag: 11.12.0-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af592bbc942047119f43d14d31285fdc97bde786;p=thirdparty%2Fasterisk.git Manager - Improve documentation for manager commands Getvar and Setvar. The documentation for these commands did not make it clear that they could accept expressions and functions. Modified to make this clear, but tried not to be overly explicit. ASTERISK-21178 #close Reported by: Rusty Newton Tested by: Rusty Newton Review: https://reviewboard.asterisk.org/r/3854 ........ Merged revisions 419942 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@419943 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index eac03e758c..3c981d6847 100644 --- a/main/manager.c +++ b/main/manager.c @@ -208,7 +208,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - Set a channel variable. + Sets a channel variable or function value. @@ -216,22 +216,23 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Channel to set variable for. - Variable name. + Variable name, function or expression. - Variable value. + Variable or function value. - Set a global or local channel variable. + This command can be used to set the value of channel variables or dialplan + functions. - If a channel name is not provided then the variable is global. + If a channel name is not provided then the variable is considered global. - Gets a channel variable. + Gets a channel variable or function value. @@ -239,13 +240,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Channel to read variable from. - Variable name. + Variable name, function or expression. - Get the value of a global or local channel variable. + Get the value of a channel variable or function return. - If a channel name is not provided then the variable is global. + If a channel name is not provided then the variable is considered global.