Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

RubyPhone: Nascent TSAPI library for Ruby

By Peter Cooper / August 23, 2006

Rubyphone

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

  1. Mark Thomas says:

    I don't know about that code; I think I'd rather register a callback!

    [pa-dum tsssh]

  2. Mark Thomas says:

    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

  3. Don Parish says:

    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

Other Posts to Enjoy

Twitter Mentions