3 May
2009
3 May
'09
12:18 a.m.
I'm trying to do Event socket outbound btw. On Sat, May 2, 2009 at 7:57 PM, Diego Viola <diego.viola@gmail.com> wrote:
Hello everyone,
I was trying to test ESL with Ruby, and I made this:
" require 'socket' require 'ESL'
TCPServer.new('127.0.0.1', '8084') con = ESL::ESLconnection.new('127.0.0.1', '8084', '') con.execute('answer') con.execute('playback', '/usr/local/freeswitch/sounds/music/8000/suite-espanola-op-47-leyenda.wav') "
I can connect from freeswitch with sync and async mode, but it doesn't do anything more than that, it doesn't execute my answer or playback, anyone knows what's wrong with it? I use the freeswitcher lib and it works great, but I also want to try ESL.
Thanks,
Diego