aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-07 21:28:49 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-07 21:28:49 +0000
commitdb1a68bf298314798783d9beb28c41cd471bc8db (patch)
tree511561e5619ba38da4bfde2853a1a64f65700a94
parentf37338b8d4b629da0dfe117a883fefbfb40e5926 (diff)
Update documentation for pbx_lua.
Closes issue #11492, patch by mnicholson. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91832 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--configs/extensions.lua.sample6
-rw-r--r--pbx/pbx_lua.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/extensions.lua.sample b/configs/extensions.lua.sample
index 776128120..691e461fb 100644
--- a/configs/extensions.lua.sample
+++ b/configs/extensions.lua.sample
@@ -78,9 +78,9 @@ TRUNKMSD = 1
-- channel.func_name(1,2,3):set("value")
-- value = channel.func_name(1,2,3):get()
--
--- channel["func_name(1|2|3)"]:set("value")
--- channel["func_name(1|2|3)"] = "value"
--- value = channel["func_name(1|2|3)"]:get()
+-- channel["func_name(1,2,3)"]:set("value")
+-- channel["func_name(1,2,3)"] = "value"
+-- value = channel["func_name(1,2,3)"]:get()
--
-- Note the use of the ':' operator to access the get() and set()
-- methods.
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 143bea5e4..a23b31ee2 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -301,7 +301,7 @@ static int lua_get_variable_value(lua_State *L)
* seen in extensions.lua.
*
* \code
- * channel.variable:set()
+ * channel.variable:set("value")
* \endcode
*/
static int lua_set_variable_value(lua_State *L)