[asterisk-bugs] [JIRA] (ASTERISK-23844) Load of pbx_lua fails on sample extensions.lua with Lua 5.2 or greater due to addition of goto statement

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jun 18 08:29:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219607#comment-219607 ] 

Rusty Newton commented on ASTERISK-23844:
-----------------------------------------

Thanks!  I also updated the summary of this issue to more accurately reflect what you discovered the issue to be.

> Load of pbx_lua fails on sample extensions.lua with Lua 5.2 or greater due to addition of goto statement
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23844
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23844
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Documentation, PBX/pbx_lua
>    Affects Versions: SVN, 12.3.0, 1.8.28.2, 11.10.2
>            Reporter: Rusty Newton
>            Assignee: George Joseph
>            Severity: Trivial
>
> {noformat}
> *CLI> module load pbx_lua.so
> Unable to load module pbx_lua.so
> Command 'module load pbx_lua.so' failed.
> [Jun  9 17:17:07] ERROR[19906]: pbx_lua.c:1635 load_or_reload_lua_stuff: Error loading extensions.lua: [string "extensions.lua"]:147: <name> expected near 'goto'
> {noformat}
> and the line:
> {noformat}
>                 ["1000"] = function()
>                         app.goto("demo", "s", 1)
>                 end;
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list