[Freeswitch-users] Ruby and ESL help

Diego Viola diego.viola at gmail.com
Sat May 2 16:57:22 PDT 2009


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




More information about the FreeSWITCH-users mailing list