<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">With embedded lua, there is not an outside library to load, its all from within the freeswitch process. I don't know if there is any way to get eclipse to see the api available through some other method.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 4, 2015, at 2:24 AM, Mayank Nakrani <<a href="mailto:mayank19882001@gmail.com" class="">mayank19882001@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra">Yes. I know it wont run outside freeswitch but i wanted it to assist me in resolving method names and variables the way it does for JAVA.</div><div class="gmail_extra">Just enabling faster coding.</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">After dev work i neways would copy the script to freeswitch folder n run from within it.</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">(the way mod_java gives u freeswitch.jar lib file which when imported in ur java project )</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Regards</div><div class="gmail_extra">Mayank</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">---------- Forwarded message ----------<br class="">From: Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>><br class="">To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>><br class="">Cc: <br class="">Date: Tue, 3 Feb 2015 11:50:13 -0600<br class="">Subject: Re: [Freeswitch-users] Help need for Lua Script development<br class="">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.<br class=""><br class="">> On Jan 31, 2015, at 4:11 AM, Mayank Nakrani <<a href="mailto:mayank19882001@gmail.com" class="">mayank19882001@gmail.com</a>> wrote:<br class="">><br class="">> Hello Guys,<br class="">><br class="">> Im starting with my Lua scripts dev. Have already had luck writing an Callback script.<br class="">> Now i would to go deeper integrating it with Mysql and other libraries and generating some dynamic dialplan.<br class="">><br class="">> Till now i used to write my scripts in Text editor and would to know is it Possible in IDE like Eclipse.<br class="">> 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.<br class="">><br class="">> I tried loading "libfreeswitch" and "mod_lua" lib using "require" command but its failing with<br class="">><br class="">> [com.naef.jnlua.LuaRuntimeException: error loading module 'libfreeswitch' from file './libfreeswitch.so':<br class="">> ./libfreeswitch.so: undefined symbol: apr_os_default_encoding ]<br class="">><br class="">> Im gud in Java and can use mod_java but would like to stick with lua as i heard its more closer to freeswitch.<br class="">><br class="">> Any help :)<br class="">></div></div></div></blockquote></div></div></body></html>