[Freeswitch-users] Ruby and ESL help
Diego Viola
diego.viola at gmail.com
Sat May 2 17:18:20 PDT 2009
I'm trying to do Event socket outbound btw.
On Sat, May 2, 2009 at 7:57 PM, Diego Viola <diego.viola at 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
>
More information about the Freeswitch-users
mailing list