<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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.<div><br></div><div><br><div><div>On Sep 7, 2014, at 7:57 AM, <a href="mailto:ifink@machshevet.com">ifink@machshevet.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div data-externalstyle="false" dir="ltr" style="font-family: Calibri, Arial, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic'; font-size: 12pt;"><div>Thanks for answer, but this is not the issue.</div><div>I have set the value for listen-ip "0.0.0.0", so I can connect Freeswitch from outside the server.</div><div>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.</div><div>The problem is that inside the server I cannot connect to Freeswitch with my own service.</div><div>Maybe there is a problem in the Esl.dll, is there a way to debug it?<br></div><div data-signatureblock="true"><div><br></div><div>Israel Fink - Developer<br>Machshevet team</div><div><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><font face=" 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic'" style="line-height: 15pt; letter-spacing: 0.02em; font-family: Calibri, Arial, 'Segoe UI', Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic'; font-size: 12pt;"><b>From:</b> <a href="mailto:mike@jerris.com" target="_parent">Michael Jerris</a><br><b>Sent:</b> Wednesday, September 3, 2014 5:31 PM<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_parent">freeswitch-users@lists.freeswitch.org</a></font></div><div><br></div><div dir="">From the default event socket config:<div><br></div><div><div><configuration name="event_socket.conf" description="Socket Client"></div><div> <settings></div><div> <param name="nat-map" value="false"/></div><div> <param name="listen-ip" value="127.0.0.1"/></div><div> <param name="listen-port" value="8021"/></div><div> <param name="password" value="ClueCon"/></div><div> <!--<param name="apply-inbound-acl" value="lan"/>--></div><div> <!--<param name="stop-on-bind-error" value="true"/>--></div><div> </settings></div><div></configuration></div><div><br></div><div><br></div><div>note the listen-ip.</div><div><br></div><div><div>On Sep 3, 2014, at 9:41 AM, <<a href="mailto:ifink@machshevet.com" target="_parent">ifink@machshevet.com</a>> <<a href="mailto:ifink@machshevet.com" target="_parent">ifink@machshevet.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote style="margin-top: 0px; margin-bottom: 0px;"><div dir="ltr" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal;"><div>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.</div><div>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.</div><div>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.</div><div>The same thing with the same credentials does work on my computer but not on the server.</div><div>Have someone any idea? is there a way to debug the Esl to see under the hood why it does not succeed?<br></div><div data-signatureblock="true"><div><br></div><div>Israel Fink - Developer<br>Machshevet team</div></div></div></blockquote></div></div></div></div></div></blockquote></div><br></div></body></html>