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

Bert Jones rmbertjones at comcast.net
Mon Feb 14 07:35:49 MSK 2011


Thanks mayamatakeshi.  I added flushes after each send, but still not
working.  Setting up packet capture now.

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
mayamatakeshi
Sent: Sunday, February 13, 2011 4:28 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Possible to communicate with FS using
event_socket without ESL?

 

 

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/2ab9afd4/attachment.html 


More information about the FreeSWITCH-users mailing list