
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.

Comments
Mark Thomas ·
I don't know about that code; I think I'd rather register a callback!
[pa-dum tsssh]
Mark Thomas ·
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
Don Parish ·
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