[Freeswitch-users] Re-2: Ruby and ESL help
Brian West
brian at freeswitch.org
Sun May 3 14:29:22 PDT 2009
I think its con.fileno in this case? Not sure.
/b
On May 3, 2009, at 4:00 PM, Diego Viola wrote:
> Yep, it works Guido.
>
> require 'socket'
>
> server = TCPServer.new(8084)
> loop do
> con = server.accept
> con.puts "connect\n\n"
> con.puts "sendmsg\ncall-command: execute\nexecute-app-name:
> answer\n\n"
> con.puts "sendmsg\ncall-command: execute\nexecute-app-name:
> playback\nexecute-app-arg: tone_stream://%(10000,0,350,440)\n\n"
> end
>
> Thanks for the tip =D
Brian West
brian at freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090503/fb6ca17c/attachment-0002.html
More information about the FreeSWITCH-users
mailing list