[asterisk-bugs] [JIRA] (ASTERISK-23844) load of pbx_lua fails on sample extensions.lua

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


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

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

You make the call on this one. I'm just reporting the issue. :) You could ask for more opinion in #asterisk-dev or on the dev list if you feel you need it.

{quote}
So my suggestion would be to change the sample config file to use the app['appname'] syntax and update the wiki pages as well.
{quote}

This sounds appropriate to me after a little Googling, but I don't have any experience with Lua, so again I defer to those with more experience.

{quote}
I can update the sample ( 1.8, 11, 12, trunk) but I don't think I can update the wiki page.
{quote}

You should have wiki edit permissions now, as a bug marshal and Asterisk developer.

Thanks!

> load of pbx_lua fails on sample extensions.lua
> ----------------------------------------------
>
>                 Key: ASTERISK-23844
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23844
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    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