[Freeswitch-users] Help need for Lua Script development
Michael Jerris
mike at jerris.com
Tue Feb 3 20:50:13 MSK 2015
It sounds like you are trying to run scripts that can only run via freeswitch with embedded lua in a seperate lua process. This is not possible. Those need to be run from within the freeswitch process.
> On Jan 31, 2015, at 4:11 AM, Mayank Nakrani <mayank19882001 at gmail.com> wrote:
>
> Hello Guys,
>
> Im starting with my Lua scripts dev. Have already had luck writing an Callback script.
> Now i would to go deeper integrating it with Mysql and other libraries and generating some dynamic dialplan.
>
> Till now i used to write my scripts in Text editor and would to know is it Possible in IDE like Eclipse.
> I installed Lua development plugin in Eclipse but was wondering Whats the correct way to import freeswitch libraries in the project so that i can see methods/functions in in freeswitch API for easier and faster coding.
>
> I tried loading "libfreeswitch" and "mod_lua" lib using "require" command but its failing with
>
> [com.naef.jnlua.LuaRuntimeException: error loading module 'libfreeswitch' from file './libfreeswitch.so':
> ./libfreeswitch.so: undefined symbol: apr_os_default_encoding ]
>
> Im gud in Java and can use mod_java but would like to stick with lua as i heard its more closer to freeswitch.
>
> Any help :)
>
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list