mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Update documentation for pbx_lua.
Closes issue #11492, patch by mnicholson. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user