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