[Freeswitch-users] LUA ESL Help

spros p sphotos1982 at gmail.com
Fri Dec 12 22:20:40 MSK 2014


Hello,

I am trying to run a simple ESL script using Lua. I have installed Lua 5.1
and the respective dev packages on my linux machine. Make luamod in
/libs/esl/ directory works just fine.

However when executing: freeswitch/libs/esl/lua/single_command.lua, i
receive the following:

lua: lua/single_command.lua:2: module 'ESL' not found:
        no field package.preload['ESL']
        no file './ESL.lua'
        no file '/usr/share/lua/5.1/ESL.lua'
        no file '/usr/share/lua/5.1/ESL/init.lua'
        no file '/usr/lib64/lua/5.1/ESL.lua'
        no file '/usr/lib64/lua/5.1/ESL/init.lua'
        no file './ESL.so'
        no file '/usr/lib64/lua/5.1/ESL.so'
        no file '/usr/lib64/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        lua/single_command.lua:2: in main chunk
        [C]: ?

Any help would be greatly appreciated

Best,
SP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141212/e113a113/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list