]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Update extensions.lua.sample with naming conflict guidance.
authorGeorge Joseph <george.joseph@fairview5.com>
Wed, 18 Jun 2014 17:06:39 +0000 (17:06 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Wed, 18 Jun 2014 17:06:39 +0000 (17:06 +0000)
commitb960b9c2d553d303cc99ca685868776f6b05a67f
tree32a9cedfa175ff72e33d0e5c4098c117b3142644
parentcc7bc40c2abcb938b336301e6b0b5ff53b6d1cd1
Update extensions.lua.sample with naming conflict guidance.

The sample extensions.lua was causing pbx_lua to fail to load when parsing
'app.goto("default", "s", 1)' because in Lua 5.2, 'goto' is now a reserved
word.  This patch adds guidance to extensions.lua.sample and changed
'app.goto("default", "s", 1)' to 'app.['goto']("default", "s", 1)'.

ASTERISK-23844 #close
Reported by: rnewton
Tested by: gtjoseph
Review: https://reviewboard.asterisk.org/r/3627/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@416581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/extensions.lua.sample