aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-14 00:36:55 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-14 00:36:55 +0000
commit5126f2d6e01ce5b3601635581c6c45fa5b513766 (patch)
tree5b6c881a23bef3ddede38a48012ee76c85b54de5 /pbx.c
parentf4b5426e7440d41efc5340d22c29a479cb357ca0 (diff)
clarify docs on ImportVar (that's for you, mog :p)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5647 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/pbx.c b/pbx.c
index 3bbbe9081..0bbf27152 100755
--- a/pbx.c
+++ b/pbx.c
@@ -440,10 +440,16 @@ static struct pbx_builtin {
},
{ "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",