Without the use of the ESL *protocol* - no. Without the use of the supplied ESL *libraries* - correct.<br><br>You're along the right lines on implementing your own protocol. If you can connect and authenticate via telnet from the same computer you're trying your app from then there should be no problem with FS.<br>
<br>The fact you say it takes 10s for FS to respond indicates you're not sending the auth line. You should get either a success or failure message straight away in reply to that. So it sounds like the auth isn't getting sent at all.<br>
<br>Try using Wireshark to view what's going over the network to check it's what you expect.<br><br>-Steve<br><br><br><br><br><br><br><div class="gmail_quote">On 13 February 2011 03:27, Bert Jones <span dir="ltr"><<a href="mailto:rmbertjones@comcast.net">rmbertjones@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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>
<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;">Thanks!</span></p><p style="margin: 0in 0in 0.0001pt;"><span style="font-size: 11pt;"> </span></p>
<p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>