Upload
mojo-lingo
View
97
Download
0
Embed Size (px)
DESCRIPTION
Infiltrating Telecoms Using Ruby presented by Ben Klang and Ben Langfeld of Mojo Lingo at RubyConf Brazil 2012
Citation preview
Infiltrating Telecoms Using Ruby
Ben Klang@bklang
Ben Langfeld@benlangfeld
Why Telephony
Why Telephony
What is a Voice Application
Why Telephony
What is a Voice Application
Telecom Infiltration Options
Why Telephony
What is a Voice Application
Telecom Infiltration Options
Adhearsion: The Ruby Approach
Why Telephony
http://www.itu.int/ITU-D/ict/newslog/Brazil+Has+More+Mobile+Phones+Than+People.aspx
http://www.internetworldstats.com/sa/br.htm
Why Telephony
Brasil
http://www.itu.int/ITU-D/ict/newslog/Brazil+Has+More+Mobile+Phones+Than+People.aspx
http://www.internetworldstats.com/sa/br.htm
Why Telephony
Brasil
20MM home computers for 194MM people
http://www.itu.int/ITU-D/ict/newslog/Brazil+Has+More+Mobile+Phones+Than+People.aspx
http://www.internetworldstats.com/sa/br.htm
Why Telephony
Brasil
20MM home computers for 194MM people
194,439,250 mobile phones
http://www.itu.int/ITU-D/ict/newslog/Brazil+Has+More+Mobile+Phones+Than+People.aspx
http://www.internetworldstats.com/sa/br.htm
Why Telephony
Brasil
20MM home computers for 194MM people
194,439,250 mobile phones
That is slightly more than one phone per person
http://www.itu.int/ITU-D/ict/newslog/Brazil+Has+More+Mobile+Phones+Than+People.aspx
http://www.internetworldstats.com/sa/br.htm
The Dark Ages
State of Voice Technology:
The Dark Ages
State of Voice Technology:
< AD 2000
TDM PBXThe Dark Ages: < AD 2000
http://www.flickr.com/photos/dannyman/320310144/
TDM PBXThe Dark Ages: < AD 2000
$$$ - £££ - €€€http://www.flickr.com/photos/dannyman/320310144/
ProprietaryThe Dark Ages: < AD 2000
$$$ - £££ - €€€http://www.flickr.com/photos/dannyman/320310144/
Islands of Functionality
The Dark Ages: < AD 2000
Minimal/Non-Existent API
The Dark Ages: < AD 2000
Limited Management Tools
The Dark Ages: < AD 2000
Limited Management Tools
The Dark Ages: < AD 2000
Automation? What Automation?
Limited Management Tools
The Dark Ages: < AD 2000
Automation? What Automation?
The Last Ten Years
State of Voice Technology:
Emergence of VoIP
The Last Ten Years
Emergence of VoIP
The Last Ten Years
Emergence of VoIP
The Last Ten Years
Emergence of VoIP
The Last Ten Years
Smarter EndpointsThe Last Ten Years
Smarter EndpointsThe Last Ten Years
Smarter EndpointsThe Last Ten Years
Smarter EndpointsThe Last Ten Years
Convergence
The Last Ten Years
Convergence
The Last Ten Years
Instant Messaging - Presence
Beginnings ofTruly Unified
Communications
The Last Ten Years
The Next Ten Years
State of Voice Technology:
Further Decentralization
The Next Ten Years
Open Architecture
The Next Ten Years
Federation
The Next Ten Years
Multi-Modal Integration
The Next Ten Years
Multi-Modal Integration
The Next Ten Years
Voice - Text - Video - Presence
Collaboration
The Next Ten Years
Collaboration
The Next Ten Years
Desktops - Documents
Nowis an exciting time
to be working with Voice
The Next Ten Years
What is a Voice Application?
Interacts with Audio Stream
A Voice Application...
Integrates Communication Channels
A Voice Application...
Goes Beyond a Phone Call
A Voice Application...
Voice Application Examples
LiveTranslation
Service
Voice Application Examples
Automated Reminder Calls
Voice Application Examples
Mid-Call Assistive ServicesVoice Application Examples
http://books.google.com.br/books?id=ekYEAAAAMBAJ&printsec=frontcover&dq=7+july+1948+life+magazine&source=bl&ots=nV3HS1HwEk&sig=iHzNtgI-gJ7bnlAoEUX0q4BBZn4&hl=pt-BR&sa=X&ei=32k_UKXeEumx0AHaoYGYAg&ved=0CDQQ6AEwAQ#v=onepage&q=7%20july%201948%20life%20magazine&f=false
CRM Integration
Voice Application Examples
Over-the-Top Services
Voice Application Examples
But wait...
telephony is HARD right??Photo by Joseph A. Carr from http://en.wikipedia.org/wiki/File:JT_Switchboard_770x540.jpg
But wait...
Code Sample (comfort zone)
Don’t Panic
Code Sample (comfort zone)
Don’t Panic
Code Sample (comfort zone)
Don’t Panic
Demo
+55 (11) 3958-8592
Demo
Demo
Ruby & Telephony: The Options
Simple Voice Apps
Tropo Scripting
Multiple LanguagesRuby, JavaScript, Python...
Tropo Scripting
Awesome TTS & ASRMany languages
Tropo Scripting
Hosted
Tropo Scripting
Reduced Control
Tropo Scripting
Debugging Difficult
Tropo Scripting
Integration points limited
Tropo Scripting
Ruby & Telephony: The Options
Hosted platform
Twilio
Self-host Applications
Twilio
HTTP API
Twilio
Application FlexibilityAny language, any framework
Twilio
Mostly fire-and-forget
Twilio
Few opportunitiesto interrupt
Twilio
Enforced stateless
Twilio
Ruby & Telephony: The Options
The Ruby Approach
The Ruby Approach
Voice ApplicationFramework
Adhearsion: The Ruby Approach
Adhearsion: The Ruby Approach
Hosting flexibility(VM, PaaS, anywhere)
Adhearsion: The Ruby Approach
Many integration points
Adhearsion: The Ruby Approach
Platform Agnostic
Adhearsion: The Ruby Approach
Just Ruby
Adhearsion: The Ruby Approach
Ability to interactbetween calls
Adhearsion: The Ruby Approach
Simple, Extensible API
Adhearsion: The Ruby Approach
Get Involved
Adhearsion: The Ruby Approach
github.com/adhearsion/adhearsionadhearsion.com
Replay the Demo:+55 (11) 3958-8592
Thanks! Questions?
Ben Klang@bklang
Ben Langfeld@benlangfeld