[Freeswitch-users] FreeSwitch Esl doesn't connect

Michael Jerris mike at jerris.com
Mon Sep 8 17:47:15 MSD 2014


Can you connect to it via fs_cli but not via your service?  you could certainly run your program inside of msvc with the debugger to try to step through and figure out what is going on I guess.


On Sep 7, 2014, at 7:57 AM, ifink at machshevet.com wrote:

> Thanks for answer, but this is not the issue.
> I have set the value for listen-ip  "0.0.0.0", so I can connect Freeswitch from outside the server.
> it does work very well, I can successful connect to Freeswitch from inside the server with FsGui, and outside the server with my own service.
> The problem is that inside the server I cannot connect to Freeswitch with my own service.
> Maybe there is a problem in the Esl.dll, is there a way to debug it?
> 
> Israel Fink - Developer
> Machshevet team
> 
> From: Michael Jerris
> Sent: ‎Wednesday‎, ‎September‎ ‎3‎, ‎2014 ‎5‎:‎31‎ ‎PM
> To: freeswitch-users at lists.freeswitch.org
> 
> From the default event socket config:
> 
> <configuration name="event_socket.conf" description="Socket Client">
>   <settings>
>     <param name="nat-map" value="false"/>
>     <param name="listen-ip" value="127.0.0.1"/>
>     <param name="listen-port" value="8021"/>
>     <param name="password" value="ClueCon"/>
>     <!--<param name="apply-inbound-acl" value="lan"/>-->
>     <!--<param name="stop-on-bind-error" value="true"/>-->
>   </settings>
> </configuration>
> 
> 
> note the listen-ip.
> 
> On Sep 3, 2014, at 9:41 AM, <ifink at machshevet.com> <ifink at machshevet.com> wrote:
> 
> In order to connect to FreeSwitch, we have made a .Net service with Esl whose connect to FreeSwitch and to send and receive events to can handle them in code.
> It all works fine on our computer, we do connect to a remote server where FreeSwitch is installed.  the connection succeeded very fine, and we get all the events.
> The problem occurs on the remote server, if we try to install the service on the remote computer where the FreeSwitch is installed, it does not success, when we check the Connect Property is always returns 0.
> The same thing with the same credentials does work on my computer but not on the server.
> Have someone any idea? is there a way to debug the Esl to see under the hood why it does not succeed?
> 
> Israel Fink - Developer
> Machshevet team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140908/5447468e/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list