<br><br><div class="gmail_quote">On Sun, Feb 13, 2011 at 12:27 PM, Bert Jones <span dir="ltr"><<a href="mailto:rmbertjones@comcast.net">rmbertjones@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello,</p><p class="MsoNormal"> </p><p class="MsoNormal">Am I correct in assuming that an app can talk directly to FS using event_socket without the use of the ESL? I am attempting to do this, but having trouble authenticating. I wanted to make sure I was not overlooking something basis in my approach.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">I have successfully loaded FS on a windows XP server and can register phones and make calls. Further I can talk to the server, authenticate and make calls using telnet, but when attempting to do the same via an app written in .net and using a socket, I am unable to authenticate. </p>
<p class="MsoNormal"> </p><p style="margin: 0in 0in 0.0001pt;"><span style="font-size: 11pt;">Running my app using a tcpSocket, I receive the "Content-Type: auth/request" upon connection of the socket, but when sending “auth password\n\n” it appears that the connection times out after about 10 seconds and I receive: “Content-Type: text/disconnect-notice" & vbLf & "Content-Length: 67". mod_event_socket is enabled in modules.conf.xml .</span></p>
<p style="margin: 0in 0in 0.0001pt;"><span style="font-size: 11pt;"> </span></p><p style="margin: 0in 0in 0.0001pt;"><span style="font-size: 11pt;">Is there something obvious that I am missing conceptually, or should this work?</span></p>
</div></div></blockquote><div><br>Maybe the .NET component is set to buffer data before sending it. There might be some method to flush the data immediately.<br>If this doesn't solve it. I would get a packet capture.<br>
<br>r,<br>takeshi<br></div></div><br>