Integrating Asterisk and Rails: Agile Telephony Hacking, Evan Henshaw-Plath

11:40 Integrating Asterisk and Rails: Agile Telephony Hacking, Evan Henshaw-Plath
http://anarchogeek.com http://testingrails.com

How to build a RAGI app:
* Install the gem
* Add a ‘handlers’ directory
* Create an AGI server
* Flush (flesh?) out the handler
* Configure Asterisk to call the AGI
* Run Asterisk and Rails

What can I do?
* Make and receive calls
* Play sounds: DTMF tones and audio files
* Connect to conference calls – connect third parties together
* Get channel information
* Get user input: DTMF, audio recording
* Set Asterisk session variables
* Record stuff
* Audio ‘helpers’ – TTS using Festival
* Set caller id
* Put them on hold – use music or other sound, avoid dead air
* Run Asterisk functions (’applications’)

RAI – Where we are going
* It’s a fork of RAGI
* Voice is just another format, uses responds_to
* Session bridges between web and phone

Lots to do
* Debugging
* Test library for AGI/Telphony
* Build out the call control DSL
* Move the templates to the view (from the controller)

http://rai.idapted.com

VoIP providers will usually allow you to set the caller id, BT may require an undertaking.

In the UK you can send SMS over land lines via SS7.

RAGI has VC funding and wants to be the MySpace of telephony.


Technorati tags:
, , , , , ,


About this entry