VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
diego.viola at gmail.com Guest
|
Posted: Sat May 02, 2009 7:12 pm Post subject: [Freeswitch-users] Ruby and ESL help |
|
|
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
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Sat May 02, 2009 7:18 pm Post subject: [Freeswitch-users] Ruby and ESL help |
|
|
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:
Quote: | 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
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|