RubyPhone: Nascent TSAPI library for Ruby
RubyPhone is the first Ruby project I've seen relating to telephony (although if you can leave links to others in the comments, please do!) but this code example struck me as particularly interesting:
phone.answer(call) if phone.ringing?
They say it's ultra-alpha quality, but if you're getting into this area, it's worth a look.
August 23, 2006 at 6:10 pm
I don't know about that code; I think I'd rather register a callback!
[pa-dum tsssh]
August 23, 2006 at 6:14 pm
By the way; it's definitely not the first telephony project. RAGI (Ruby Asterisk Gateway Interface) pre-dates it by quite some time. And, it's really cool. Check it out here:
http://www.snapvine.com/code/ragi
and the O'ReillyNet article is provides a little background info:
http://www.oreillynet.com/pub/a/etel/2005/12/19/hacking-in-asterisk-and-rails.html
August 23, 2006 at 7:07 pm
You might want to check out Hacking in Asterisk and Rails at http://www.oreillynet.com/pub/a/etel/2005/12/19/hacking-in-asterisk-and-rails.html?page=1