Post by Peter Cooper on August 23rd, 2006

RubyPhone: Nascent TSAPI library for Ruby

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.

[Post to Twitter] Tweet This

3 Responses to “RubyPhone: Nascent TSAPI library for Ruby”

  1. #1
    Mark Thomas Says:

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

    [pa-dum tsssh]

  2. #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. #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