[Asterisk-cvs] asterisk pbx.c,1.241,1.242

russell at lists.digium.com russell at lists.digium.com
Fri May 13 20:31:08 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv26198

Modified Files:
	pbx.c 
Log Message:
clarify docs on ImportVar (that's for you, mog :p)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.241
retrieving revision 1.242
diff -u -d -r1.241 -r1.242
--- pbx.c	8 May 2005 17:10:58 -0000	1.241
+++ pbx.c	14 May 2005 00:36:55 -0000	1.242
@@ -440,10 +440,16 @@
 	},
 
 	{ "ImportVar", pbx_builtin_importvar,
-	"Set variable to value",
-	"  ImportVar(#n=channel|variable): Sets variable n to variable as evaluated on\n"
-	"the specified channel (instead of current). If prefixed with _, single\n"
-	"inheritance assumed. If prefixed with __, infinite inheritance is assumed.\n" },
+	"Import a variable from a channel into a new variable",
+	"  ImportVar(newvar=channelname|variable): This application imports a\n"
+	"variable from the specified channel (as opposed to the current one)\n"
+	"and stores it as a variable in the current channel (the channel that\n"
+	"is calling this application). If the new variable name is prefixed by\n"
+	"a single underscore \"_\", then it will be inherited into any channels\n"
+	"created from this one. If it is prefixed with two underscores,then\n"
+	"the variable will have infinite inheritance, meaning that it will be\n"
+	"present in any descendent channel of this one.\n"
+	},
 
 	{ "StripMSD", pbx_builtin_stripmsd,
 	"Strip leading digits",




More information about the svn-commits mailing list