[Freeswitch-users] Possible to communicate with FS using event_socket without ESL?

mayamatakeshi mayamatakeshi at gmail.com
Sun Feb 13 12:28:06 MSK 2011


On Sun, Feb 13, 2011 at 12:27 PM, Bert Jones <rmbertjones at comcast.net>wrote:

> Hello,
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> 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 .
>
>
>
> Is there something obvious that I am missing conceptually, or should this
> work?
>

Maybe the .NET component is set to buffer data before sending it. There
might be some method to flush the data immediately.
If this doesn't solve it. I would get a packet capture.

r,
takeshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110213/f1d093e9/attachment.html 


More information about the FreeSWITCH-users mailing list