[Freeswitch-users] send custom tcp message from esl

Ejay Greeves ejay.greeves at yahoo.com
Tue Mar 22 16:48:57 MSK 2011


This is for a collected call being processed in an event socket ruby script.  I would want to connect out from Freeswitch to an external tcp port. Basic what I want is to sent the output string of a ruby puts command through tcp to a ecternal server. Can I do this with the esl object?

--- On Tue, 22/3/11, Michael Collins <msc at freeswitch.org> wrote:

From: Michael Collins <msc at freeswitch.org>
Subject: Re: [Freeswitch-users] send custom tcp message from esl
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Date: Tuesday, 22 March, 2011, 5:26

Are you trying to send a simple string to the event socket port on FreeSWITCH? If so, what message are you sending? I'm not aware of any event socket messages that ESL cannot handle.
-MC


On Mon, Mar 21, 2011 at 4:10 PM, Ejay Greeves <ejay.greeves at yahoo.com> wrote:

I am using esl in Ruby I want to send tcp messages to a server.  When I tried to make my tcpsocket class it did not work it must be messing with the socket setup of esl. Is there a way without the need to manage the sockets seperatley to use els methods to send out custom tcp message. All I need is for a simple string to be fired to tcp port. How can I do this from inside esl.






      
_______________________________________________

FreeSWITCH-users mailing list

FreeSWITCH-users at lists.freeswitch.org

http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users

http://www.freeswitch.org





-----Inline Attachment Follows-----

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110322/aca645f4/attachment.html 


More information about the FreeSWITCH-users mailing list