State of the Art Telephonywith Ruby
Ben KlangFounder, Mojo Lingo
[email protected]/Github: @bklang
Who has tried to build a voice app?
Who wants to build a voice app?
Anyone running voice apps in production?
But wait...telephony is HARD right??
Photo by Joseph A. Carr from http://en.wikipedia.org/wiki/File:JT_Switchboard_770x540.jpg
Code Sample (comfort zone)
Don’t Panic
Code Sample (comfort zone)
Don’t Panic
Code Sample (comfort zone)
Don’t Panic
More than a library
* Threads* Events* Plugins* Daemonization
✴ A voice application development framework
More than a library
* Threads* Events* Plugins* Daemonization
✴ A voice application development framework
✴ Independent from, but compatiblewith, Rails More than a library
* Threads* Events* Plugins* Daemonization
✴ A voice application development framework
✴ Independent from, but compatiblewith, Rails
Voice applications the Ruby Way
More than a library
* Threads* Events* Plugins* Daemonization
Adhearsion Features
Adhearsion Features
• Easy-to-use DSL
Adhearsion Features
• Easy-to-use DSL
• Native Ruby Code
Adhearsion Features
• Easy-to-use DSL
• Native Ruby Code
• Powerful Eventing System
Advanced Voice Features
Advanced Voice Features
• High-level Constructs (Menus, Queues, Conferences)
Advanced Voice Features
• High-level Constructs (Menus, Queues, Conferences)
• Text-to-Speech
Advanced Voice Features
• High-level Constructs (Menus, Queues, Conferences)
• Text-to-Speech
• Voice Recognition
Advanced Voice Features
• High-level Constructs (Menus, Queues, Conferences)
• Text-to-Speech
• Voice Recognition
• Call Progress/Answering Machine Detection
Adhearsion ArchitectureAsterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion ArchitectureAsterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion ArchitectureAsterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion ArchitectureAsterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion ArchitectureAsterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion Architecture
SQL
Asterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion Architecture
SQL LDAP
Asterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion Architecture
XMPP/JabberSQL LDAP
Asterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Adhearsion Architecture
WebREST/JSON/XML
XMPP/JabberSQL LDAP
Asterisk Pros:* Run on your server* Widely Deployed* Eventing System
Cons:* Tricky to set up/Requires hardware* No TTS/ASR
Tropo Pros:* Easy to set up* Awesome TTS/ASR* SMS & International
Cons:* No manager events* No built-in recordings
Note: AGItate first written 1 year ago
Announcing...
Adhearsion 1.2.0
Quick Start
The Dialplan
Adhearsion Console
Components
Event Handling
Event Handling
770.873.8900
Ben [email protected] Twitter/Github: @bklang
spkr8.com/t/7816
http://adhearsion.comTwitter/Github: @adhearsion