<div dir="ltr"><div>Hi,</div><div><br></div><div>I tested the ESL modules and the results are below.</div><div>They are a little rough but it is my hope that we can use them to improve the code and the doco.</div><div><br></div><div>If anyone has any questions just holler.</div><div><br></div><div>legend<br></div><div><span class="" style="white-space:pre">        </span>f=fail</div><div><span class="" style="white-space:pre">        </span>p=pass</div><div><span class="" style="white-space:pre">        </span>?=don&#39;t know</div><div><span class="" style="white-space:pre">        </span>*=tweaks required</div><div><br></div><div>platform</div><div><span class="" style="white-space:pre">        </span>debian 7.6 minimal install</div><div><br></div><div>apt-get install libncurses5-dev</div><div><br></div><div>p-perlmod</div><div><span class="" style="white-space:pre">        </span>cd /usr/local/src/freeswitch</div><div><span class="" style="white-space:pre">        </span>./configure</div><div><span class="" style="white-space:pre">        </span>apt-get install libperl-dev</div><div><span class="" style="white-space:pre">        </span>make perlmod</div><div><span class="" style="white-space:pre">        </span>make perlmod-install</div><div><span class="" style="white-space:pre">                </span>returns 0 but they don&#39;t do anything</div><div><span class="" style="white-space:pre">        </span></div><div>p*-phpmod</div><div><span class="" style="white-space:pre">        </span>cd /usr/local/src/freeswitch</div><div><span class="" style="white-space:pre">        </span>apt-get install php5-dev</div><div><span class="" style="white-space:pre">        </span>./configure</div><div><span class="" style="white-space:pre">        </span>apt-get install libonig-dev</div><div><span class="" style="white-space:pre">        </span>apt-get install libdb-dev</div><div><span class="" style="white-space:pre">        </span>apt-get install libqdbm-dev</div><div><span class="" style="white-space:pre">        </span>apt-get install php5</div><div><span class="" style="white-space:pre">        </span>cd libs/esl</div><div><span class="" style="white-space:pre">        </span>make phpmod</div><div><span class="" style="white-space:pre">        </span>make phpmod-install *** fails</div><div><span class="" style="white-space:pre">        </span>#edit /etc/php5/cli/php.ini</div><div><span class="" style="white-space:pre">                </span>enable_dl = Off</div><div><span class="" style="white-space:pre">        </span>cd php</div><div><span class="" style="white-space:pre">        </span>php single_command.php version</div><div>p*-luamod</div><div><span class="" style="white-space:pre">        </span>apt-get install lua5.1</div><div><span class="" style="white-space:pre">                </span>#version 5.2 won&#39;t work</div><div><span class="" style="white-space:pre">        </span>cd ../lua</div><div><span class="" style="white-space:pre">        </span>#make the following edits</div><div><span class="" style="white-space:pre">                </span>diff --git a/libs/esl/lua/Makefile b/libs/esl/lua/Makefile</div><div><span class="" style="white-space:pre">                </span>index c33853b..b1169db 100644</div><div><span class="" style="white-space:pre">                </span>--- a/libs/esl/lua/Makefile</div><div><span class="" style="white-space:pre">                </span>+++ b/libs/esl/lua/Makefile</div><div><span class="" style="white-space:pre">                </span>@@ -1,5 +1,5 @@</div><div><span class="" style="white-space:pre">                </span>-LOCAL_CFLAGS=</div><div><span class="" style="white-space:pre">                </span>-LOCAL_LDFLAGS=-llua -lpthread</div><div><span class="" style="white-space:pre">                </span>+LOCAL_CFLAGS=-I /usr/include/lua5.1</div><div><span class="" style="white-space:pre">                </span>+LOCAL_LDFLAGS=-llua5.1 -lpthread</div><div><span class="" style="white-space:pre">                </span> WRAP_GCC_WARNING_SILENCE=-Wno-unused-function</div><div><span class="" style="white-space:pre">                </span> </div><div><span class="" style="white-space:pre">                </span> all: ESL.so</div><div><span class="" style="white-space:pre">                </span>diff --git a/libs/esl/lua/single_command.lua b/libs/esl/lua/single_command.lua</div><div><span class="" style="white-space:pre">                </span>index bff4b32..e58716a 100755</div><div><span class="" style="white-space:pre">                </span>--- a/libs/esl/lua/single_command.lua</div><div><span class="" style="white-space:pre">                </span>+++ b/libs/esl/lua/single_command.lua</div><div><span class="" style="white-space:pre">                </span>@@ -5,6 +5,6 @@ local command = arg[1];</div><div><span class="" style="white-space:pre">                </span> table.remove(arg, 1);</div><div><span class="" style="white-space:pre">                </span> local args = table.concat(arg, &quot; &quot;);</div><div><span class="" style="white-space:pre">                </span> </div><div><span class="" style="white-space:pre">                </span>-local con = ESL.ESLconnection(&quot;localhost&quot;, &quot;8021&quot;, &quot;ClueCon&quot;);</div><div><span class="" style="white-space:pre">                </span>+local con = ESL.ESLconnection(&quot;127.0.0.1&quot;, &quot;8021&quot;, &quot;ClueCon&quot;);</div><div><span class="" style="white-space:pre">                </span> print(e:getBody());</div><div><span class="" style="white-space:pre">        </span> cd ..</div><div><span class="" style="white-space:pre">        </span> make lua</div><div><span class="" style="white-space:pre">        </span> cd lua</div><div><span class="" style="white-space:pre">        </span> lua single_command.lua</div><div>p-pymod</div><div><span class="" style="white-space:pre">        </span>cd ..</div><div><span class="" style="white-space:pre">        </span>apt-get install python2.7-dev</div><div><span class="" style="white-space:pre">        </span>make pymod</div><div><span class="" style="white-space:pre">        </span>make pymod-install</div><div><span class="" style="white-space:pre">        </span>python python/single_command.py -c version</div><div>p*-tclmod</div><div><span class="" style="white-space:pre">        </span>apt-get install tcl8.5-dev</div><div><span class="" style="white-space:pre">                </span>#make the following edits</div><div><span class="" style="white-space:pre">                </span>diff --git a/libs/esl/tcl/Makefile b/libs/esl/tcl/Makefile</div><div><span class="" style="white-space:pre">                </span>index 85b1fa1..0f04ae5 100644</div><div><span class="" style="white-space:pre">                </span>--- a/libs/esl/tcl/Makefile</div><div><span class="" style="white-space:pre">                </span>+++ b/libs/esl/tcl/Makefile</div><div><span class="" style="white-space:pre">                </span>@@ -1,5 +1,5 @@</div><div><span class="" style="white-space:pre">                </span>-LOCAL_CFLAGS=</div><div><span class="" style="white-space:pre">                </span>-LOCAL_LDFLAGS=-ltcl</div><div><span class="" style="white-space:pre">                </span>+LOCAL_CFLAGS=-I /usr/include/tcl8.5/</div><div><span class="" style="white-space:pre">                </span>+LOCAL_LDFLAGS=-ltcl8.5</div><div><span class="" style="white-space:pre">                </span> WRAP_GCC_WARNING_SILENCE=-Wno-unused-function</div><div><span class="" style="white-space:pre">                </span> </div><div><span class="" style="white-space:pre">                </span> all: ESL.so</div><div><span class="" style="white-space:pre">        </span>make tclmod</div><div><span class="" style="white-space:pre">        </span>tclsh tcl/single_command.tcl version</div><div>p-rubymod</div><div><span class="" style="white-space:pre">        </span>apt-get install ruby1.9.1-dev</div><div><span class="" style="white-space:pre">        </span>make rubymod</div><div><span class="" style="white-space:pre">        </span>make rubymod-install</div><div><span class="" style="white-space:pre">        </span>ruby ruby/single_command.rb version</div><div>p*-javamod</div><div><span class="" style="white-space:pre">        </span>apt-get install openjdk-6-jdk</div><div><span class="" style="white-space:pre">        </span>#make these changes</div><div><span class="" style="white-space:pre">                </span>root@debian-minimal:/usr/local/src/freeswitch/libs/esl/java# diff -c Makefile.saf Makefile</div><div><span class="" style="white-space:pre">                </span>*** Makefile.saf<span class="" style="white-space:pre">        </span>2014-10-09 02:04:00.998746019 -0400</div><div><span class="" style="white-space:pre">                </span>--- Makefile<span class="" style="white-space:pre">        </span>2014-10-09 02:04:51.050116788 -0400</div><div><span class="" style="white-space:pre">                </span>***************</div><div><span class="" style="white-space:pre">                </span>*** 1,4 ****</div><div><span class="" style="white-space:pre">                </span>! LOCAL_CFLAGS=-I../src/include -I/usr/java/jdk1.6.0_14/include -I/usr/java/jdk1.6.0_14/include/linux -I/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux</div><div><span class="" style="white-space:pre">                </span>  GCC_WARNING_JUNK=-w</div><div><span class="" style="white-space:pre">                </span>  CLASSES=org/freeswitch/esl/*</div><div><span class="" style="white-space:pre">                </span>  </div><div><span class="" style="white-space:pre">                </span>--- 1,4 ----</div><div><span class="" style="white-space:pre">                </span>! LOCAL_CFLAGS=-I../src/include -I/usr/java/jdk1.6.0_14/include -I/usr/java/jdk1.6.0_14/include/linux -I/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I /usr/lib/jvm/java-6-openjdk-amd64/include/</div><div><span class="" style="white-space:pre">                </span>  GCC_WARNING_JUNK=-w</div><div><span class="" style="white-space:pre">                </span>  CLASSES=org/freeswitch/esl/*</div><div><span class="" style="white-space:pre">        </span>make javamod</div><div><span class="" style="white-space:pre">        </span>*no test application for this</div><div>?-managedmod</div><div><span class="" style="white-space:pre">        </span>not tested</div><div><br></div></div>