]> 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:09:04 +0000 (17:09 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Wed, 18 Jun 2014 17:09:04 +0000 (17:09 +0000)
commit590bc4f7d7450ee6e4bf64be6b624a7d74396cd7
tree5cd7aca50fe1ae84728038ffa4e3114d4b0d4cb7
parent90f98e35a6fee630564ddc4442157c808c60fc4d
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/

........

Merged revisions 416581 from http://svn.asterisk.org/svn/asterisk/branches/11

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