<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16434"></HEAD>
<BODY>
<DIV><SPAN class=552451514-12082011><FONT face=Calibri>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=552451514-12082011><FONT
face=Calibri></FONT></SPAN> </DIV>
<DIV><SPAN class=552451514-12082011><FONT face=Calibri>I am trying
mod_event_socket in FreeSwitch [outbound ] using Java and I am
stuck:</FONT></SPAN></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><SPAN class=552451514-12082011><FONT face=Calibri>I tried the following C#
sample successfully.</FONT></SPAN></DIV>
<DIV><SPAN class=552451514-12082011><FONT
face=Calibri></FONT></SPAN> </DIV>
<DIV><SPAN class=552451514-12082011><FONT size=2 face=Consolas><FONT size=2
face=Consolas></FONT></FONT><FONT color=#2b91af size=2 face=Consolas><FONT
color=#2b91af size=2 face=Consolas><FONT color=#2b91af size=2
face=Consolas>ESLconnection</FONT></FONT></FONT><FONT size=2 face=Consolas><FONT
size=2 face=Consolas> eslConnection = </FONT></FONT><FONT color=#0000ff size=2
face=Consolas><FONT color=#0000ff size=2 face=Consolas><FONT color=#0000ff
size=2 face=Consolas>new</FONT></FONT></FONT><FONT size=2 face=Consolas><FONT
size=2 face=Consolas> </FONT></FONT><FONT color=#2b91af size=2
face=Consolas><FONT color=#2b91af size=2 face=Consolas><FONT color=#2b91af
size=2 face=Consolas>ESLconnection</FONT></FONT></FONT><FONT size=2
face=Consolas><FONT size=2
face=Consolas>(sckClient.Handle.ToInt32());</DIV></FONT></FONT></SPAN>
<DIV><SPAN class=552451514-12082011><FONT
face=Calibri></FONT></SPAN> </DIV>
<DIV><SPAN class=552451514-12082011><FONT face=Calibri>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.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Calibri></FONT> </DIV>
<DIV align=left><SPAN class=552451514-12082011><FONT face=Calibri>Thanks in
advance.</FONT></SPAN></DIV>
<DIV align=left><SPAN class=552451514-12082011><FONT
face=Calibri></FONT></SPAN> </DIV>
<DIV align=left><FONT size=2 face="Trebuchet MS">Suresh</FONT></DIV>
<DIV align=left><FONT size=2 face="Trebuchet MS"></FONT> </DIV>
<DIV><FONT face=Calibri></FONT> </DIV></BODY></HTML>