<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. &nbsp;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 &lt;<a href="mailto:mayank19882001@gmail.com" class="">mayank19882001@gmail.com</a>&gt; 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:&nbsp;Michael Jerris &lt;<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>&gt;<br class="">To:&nbsp;FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class="">Cc:&nbsp;<br class="">Date:&nbsp;Tue, 3 Feb 2015 11:50:13 -0600<br class="">Subject:&nbsp;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.&nbsp; This is not possible.&nbsp; Those need to be run from within the freeswitch process.<br class=""><br class="">&gt; On Jan 31, 2015, at 4:11 AM, Mayank Nakrani &lt;<a href="mailto:mayank19882001@gmail.com" class="">mayank19882001@gmail.com</a>&gt; wrote:<br class="">&gt;<br class="">&gt; Hello Guys,<br class="">&gt;<br class="">&gt; Im starting with my Lua scripts dev. Have already had luck writing an Callback script.<br class="">&gt; Now i would to go deeper integrating it with Mysql and other libraries and generating some dynamic dialplan.<br class="">&gt;<br class="">&gt; Till now i used to write my scripts in Text editor and would to know is it Possible in IDE like Eclipse.<br class="">&gt; 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="">&gt;<br class="">&gt; I tried loading "libfreeswitch" and "mod_lua" lib using "require" command but its failing with<br class="">&gt;<br class="">&gt; [com.naef.jnlua.LuaRuntimeException: error loading module 'libfreeswitch' from file './libfreeswitch.so':<br class="">&gt;&nbsp; &nbsp; &nbsp; &nbsp;./libfreeswitch.so: undefined symbol: apr_os_default_encoding ]<br class="">&gt;<br class="">&gt; 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="">&gt;<br class="">&gt; Any help :)<br class="">&gt;</div></div></div></blockquote></div></div></body></html>