Update extensions.lua.sample with naming conflict guidance.
authorGeorge Joseph <george.joseph@fairview5.com>
Wed, 18 Jun 2014 17:20:13 +0000 (17:20 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Wed, 18 Jun 2014 17:20:13 +0000 (17:20 +0000)
commitcc4178bf253a420f630de5c46fbe8ab117be7c61
tree9ddae2fb98d40e7e7a0aa7972a6d1ad146e646d8
parenta965613cf7eb65e9caf71d00614f00f9bda7c985
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
........

Merged revisions 416582 from http://svn.asterisk.org/svn/asterisk/branches/12

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