Hi
Suresh,
I
haven’t used the C# libraries before, but I can highly recommend you to use the
Java ESL client library (org.freeswitch.esl.client) that is listed on the
wiki.
http://wiki.freeswitch.org/wiki/Java_ESL
I’m
using it in one of my current developments and it works pretty good. As it uses
the JBoss netty for connection management, you don’t have to worry about
connection handling, missing events or anything like that. It’s well designed
and the performance is acceptable.
Give
it a shot and let us know if you have any questions.
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of
Suresh M
Sent: Tuesday, August 16, 2011 4:07 AM
To:
freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users]
mod_event_socket Outbound connection in Java.
Hi,
I am trying
mod_event_socket in FreeSwitch [outbound ] using Java and I am
stuck:
I tried the
following C# sample successfully.
ESLconnection eslConnection = new ESLconnection(sckClient.Handle.ToInt32());
I need to
do the same in Java. But what should I pass to new ESLconnection constructor in
Java in place of socket handle?! I know basically this is a Java
question for which I tried a lot to find answer but in vain. Hope somebody
out there would already have come across this and got a solution. Any
help or clue or alternative method to achieve the same is greatly
appreciated.
Thanks in
advance.
Suresh