<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
Below is the patch I had to use to get it to compile and run.<BR>
<BR>
By the way, your ESL library rules. I tried fseslib (<A HREF="http://versafon.com/versafonweb/Software.jsp">http://versafon.com/versafonweb/Software.jsp</A>) but it's GPL(v3!) and doesn't handle event bodies; even with a hack to it still doesn't provide essential fields. The ESL library for Java built into Freeswitch uses native code and seems to only handle outbound. Only your library provides everything, is 100% Java, and is licensed nicely.<BR>
<BR>
Thank you so much<BR>
Damjan<BR>
<BR>
diff --git a/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml b/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml<BR>
index 56c8250..97f03db 100644<BR>
--- a/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml<BR>
+++ b/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml<BR>
@@ -19,7 +19,7 @@<BR>
&nbsp;&nbsp; &lt;parent&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.freeswitch.esl.client&lt;/groupId&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;esl-client-parent&lt;/artifactId&gt;<BR>
-&nbsp;&nbsp;&nbsp; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;<BR>
+&nbsp;&nbsp;&nbsp; &lt;version&gt;0.9.0-SNAPSHOT&lt;/version&gt;<BR>
&nbsp;&nbsp; &lt;/parent&gt;<BR>
&nbsp;&nbsp; &lt;artifactId&gt;org.freeswitch.esl.client.example&lt;/artifactId&gt;<BR>
&nbsp;&nbsp; &lt;name&gt;FreeSWITCH Event Socket Library - Java Client example usage&lt;/name&gt;<BR>
@@ -27,7 +27,7 @@<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;dependency&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.freeswitch.esl.client&lt;/groupId&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;org.freeswitch.esl.client&lt;/artifactId&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;version&gt;0.9.0-SNAPSHOT&lt;/version&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependency&gt;<BR>
&nbsp;&nbsp; &lt;/dependencies&gt;<BR>
-&lt;/project&gt;<BR>
\ No newline at end of file<BR>
+&lt;/project&gt;<BR>
diff --git a/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml b/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml<BR>
index cc9d9f1..0093650 100644<BR>
--- a/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml<BR>
+++ b/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml<BR>
@@ -19,7 +19,7 @@<BR>
&nbsp;&nbsp; &lt;parent&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.freeswitch.esl.client&lt;/groupId&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;esl-client-parent&lt;/artifactId&gt;<BR>
-&nbsp;&nbsp;&nbsp; &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;<BR>
+&nbsp;&nbsp;&nbsp; &lt;version&gt;0.9.0-SNAPSHOT&lt;/version&gt;<BR>
&nbsp;&nbsp; &lt;/parent&gt;<BR>
&nbsp;&nbsp; &lt;artifactId&gt;org.freeswitch.esl.client&lt;/artifactId&gt;<BR>
&nbsp;&nbsp; &lt;name&gt;FreeSWITCH Event Socket Library - Java Client&lt;/name&gt;<BR>
@@ -43,13 +43,17 @@<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Import-Package&gt;*&lt;/Import-Package&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Export-Package&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client,<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.inbound,<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.internal,<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.internal.debug,<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.debug,<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.outbound,<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.transport,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.transport.event,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.transport.message,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Export-Package&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&nbsp; the debug package is a temporary hack&nbsp; --&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Private-Package&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.internal,<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.freeswitch.esl.client.debug<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Private-Package&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/instructions&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;<BR>
@@ -111,4 +115,4 @@<BR>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/repository&gt;<BR>
&nbsp;&nbsp; &lt;/repositories&gt;<BR>
&nbsp;&nbsp;&nbsp; <BR>
-&lt;/project&gt;<BR>
\ No newline at end of file<BR>
+&lt;/project&gt;<BR>
<BR>
<BR>
On Thu, 2010-08-12 at 16:13 +0200, Damjan Jovanovic wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi David<BR>
    <BR>
    How do you compile this? I type &quot;mvn clean install&quot; and get errors:<BR>
    <BR>
    [INFO] Scanning for projects...<BR>
    [INFO] ------------------------------------------------------------------------<BR>
    [ERROR] FATAL ERROR<BR>
    [INFO] ------------------------------------------------------------------------<BR>
    [INFO] Error building POM (may not be this project's POM).<BR>
    <BR>
    <BR>
    Project ID: null:org.freeswitch.esl.client:bundle:null<BR>
    <BR>
    Reason: Cannot find parent: org.freeswitch.esl.client:esl-client-parent for project: null:org.freeswitch.esl.client:bundle:null for project null:org.freeswitch.esl.client:bundle:null<BR>
    <BR>
    <BR>
    [INFO] ------------------------------------------------------------------------<BR>
    [INFO] Trace<BR>
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.freeswitch.esl.client:esl-client-parent for project: null:org.freeswitch.esl.client:bundle:null for project null:org.freeswitch.esl.client:bundle:null<BR>
    <BR>
    etc<BR>
    <BR>
    Damjan<BR>
    <BR>
    On Wed, 2010-01-06 at 00:41 +1100, david varnes wrote: 
    <BLOCKQUOTE TYPE=CITE>
<PRE>
Hi all,
I had a basic java inbound ESL client kicking around that I have used
in a couple of small projects over the last year.  I needed something
a little more complete for a new project so I dusted it off and made it
less incomplete.

It still needs more work and testing, but it certainly is usable right now.
I have tested it against FS 1.0.4 and latest trunk.

I have put it in my contrib area in svn in hopes that some may find it
useful:
<A HREF="http://svn.freeswitch.org/svn/freeswitch/trunk/contrib/dvarnes/java/esl-client">http://svn.freeswitch.org/svn/freeswitch/trunk/contrib/dvarnes/java/esl-client</A>
I would be interested in any feedback ...

Features
 * Apache License (ASL) version 2
 * Standalone Inbound client
 * Framework classes to easily create an Outbound socket client
 * based on Netty [1] nio library version 3.1.5.GA (previously was
   using Apache MINA, but this is easier)
 * logging via slf4j
 * only dependencies are slf4j-api and netty (both Apache licensed)
 * single jar which is a valid OSGi bundle
 * built using maven
 * eclipse projects
 * reasonable level of java docs

Still todo
 * Docs
 * Simple example apps
 * .. more in TODO.txt in project root.

There is no binary jar available right now since I don't know how/if
I can put files up to file.freeswitch.org.

In the meantime to build you need maven [2] installed.  If you are
unfamiliar with maven usage, I can post a simple howto.

davidv

[1] <A HREF="http://www.jboss.org/netty/downloads.html">http://www.jboss.org/netty/downloads.html</A>
[2] <A HREF="http://maven.apache.org">http://maven.apache.org</A>

_______________________________________________
FreeSWITCH-users mailing list
<A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE>
    </BLOCKQUOTE>
    <BR>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>