SlideShare a Scribd company logo
Infiltrating Telecoms Using Ruby

  Ben Klang        Ben Langfeld
   @bklang         @benlangfeld
Infiltrating Telecoms Using Ruby
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
State of Voice Technology:




       The Dark Ages
State of Voice Technology:




       The Dark Ages
        < AD 2000
The Dark Ages: < AD 2000

         TDM PBX




                  http://www.flickr.com/photos/dannyman/320310144/
The Dark Ages: < AD 2000

         TDM PBX




        $$$ - £££ - €€€
                  http://www.flickr.com/photos/dannyman/320310144/
The Dark Ages: < AD 2000

         Proprietary




        $$$ - £££ - €€€
                  http://www.flickr.com/photos/dannyman/320310144/
The Dark Ages: < AD 2000


  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
 Automation? What Automation?
The Dark Ages: < AD 2000


Limited Management Tools
 Automation? What Automation?
State of Voice Technology:




     The Last Ten Years
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

    Emergence of VoIP
The Last Ten Years
     Smarter Endpoints
The Last Ten Years
     Smarter Endpoints
The Last Ten Years
     Smarter Endpoints
The Last Ten Years
     Smarter Endpoints
The Last Ten Years


        Convergence
The Last Ten Years


        Convergence

  Instant Messaging - Presence
The Last Ten Years


       Beginnings of
        Truly Unified
      Communications
State of Voice Technology:




    The Next Ten Years
The Next Ten Years




 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
  Voice - Text - Video - Presence
The Next Ten Years




        Collaboration
The Next Ten Years




        Collaboration
     Desktops - Documents
The Next Ten Years


            Now
     is an exciting time
 to be working with Voice
What is a Voice Application?
A Voice Application...

Interacts with Audio Stream
A Voice Application...

Integrates Communication
         Channels
A Voice Application...




Goes Beyond a Phone Call
Voice Application Examples
Voice Application Examples


     Live
  Translation
    Service
Voice Application Examples


Automated Reminder Calls
Voice Application Examples

    Mid-Call Assistive Services




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
Voice Application Examples

      CRM Integration
Voice Application Examples


  Over-the-Top Services
Infiltrating Telecoms Using Ruby
But wait...
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
Demo

+55 (11) 3958-8592
Demo
Demo
Ruby & Telephony: The Options
Tropo Scripting



     Simple Voice Apps
Tropo Scripting



    Multiple Languages
   Ruby, JavaScript, Python...
Tropo Scripting



   Awesome TTS & ASR
        Many languages
Tropo Scripting



            Hosted
Tropo Scripting



      Reduced Control
Tropo Scripting



     Debugging Difficult
Tropo Scripting



 Integration points limited
Ruby & Telephony: The Options
Twilio



         Hosted platform
Twilio



   Self-host Applications
Twilio



         HTTP API
Twilio



    Application Flexibility
         Any language, any framework
Twilio



   Mostly fire-and-forget
Twilio



         Few opportunities
            to interrupt
Twilio



         Enforced stateless
Ruby & Telephony: The Options
The Ruby Approach
The Ruby Approach
Adhearsion: The Ruby Approach



     Voice Application
        Framework
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 interact
       between calls
Adhearsion: The Ruby Approach



  Simple, Extensible API
Adhearsion: The Ruby Approach



        Get Involved
          adhearsion.com
 github.com/adhearsion/adhearsion
adhearsionconf.com
Thanks! Questions?

        Replay the Demo:
       +55 (11) 3958-8592

    Ben Klang        Ben Langfeld
     @bklang         @benlangfeld

More Related Content

PDF
Now Hear This! Putting Voice, Video, and Text into Ruby on Rails
PDF
Telephony Through Ruby Colored Lenses
PDF
Voice Applications for the Modern Open Source Hacker
PDF
Keeping It Realtime!
PDF
Introduction to Adhearsion
PDF
Talking To Rails
ODP
Wimax and VoIP Presentation
PPTX
Evolution Of Convergence And Voip
Now Hear This! Putting Voice, Video, and Text into Ruby on Rails
Telephony Through Ruby Colored Lenses
Voice Applications for the Modern Open Source Hacker
Keeping It Realtime!
Introduction to Adhearsion
Talking To Rails
Wimax and VoIP Presentation
Evolution Of Convergence And Voip

Similar to Infiltrating Telecoms Using Ruby (20)

PPT
12 vo ip-t-hutchinson-11feb2011
PDF
The Past and Future of VoIP
PPT
Embracing the Next Generation Telephony Platform
PDF
Open Source Telephony Disruptive Solutions
PPT
10 Tomislav Bronzin
PDF
Practical VoIP Using VOCAL 1st Edition David Kelly Cullen Jennings Luan Dang
PPT
PDF
VoIP (Voice over Internet Protocol).pdf
PPT
Interalia
PPT
Why VoIP is better. Save $1,000's over traditional phone services.
PDF
Talking to Rails - MagRails 2011
PPT
A W T Profoss VoIP & Asterisk
PDF
Future of voip- karan singh cypher
PPTX
Introduction to IP telephony & VoIP
PDF
Tropo Presentation at the Telecom API Workshop
PPT
Premium Hosted VoIP
PDF
Future of Programmable Telecoms at Restconn 2017
PPTX
How aculab facilitates application development
PPT
Tarvinder voip ppt
PPT
VoIP - Technology To Business Models
12 vo ip-t-hutchinson-11feb2011
The Past and Future of VoIP
Embracing the Next Generation Telephony Platform
Open Source Telephony Disruptive Solutions
10 Tomislav Bronzin
Practical VoIP Using VOCAL 1st Edition David Kelly Cullen Jennings Luan Dang
VoIP (Voice over Internet Protocol).pdf
Interalia
Why VoIP is better. Save $1,000's over traditional phone services.
Talking to Rails - MagRails 2011
A W T Profoss VoIP & Asterisk
Future of voip- karan singh cypher
Introduction to IP telephony & VoIP
Tropo Presentation at the Telecom API Workshop
Premium Hosted VoIP
Future of Programmable Telecoms at Restconn 2017
How aculab facilitates application development
Tarvinder voip ppt
VoIP - Technology To Business Models
Ad

More from Mojo Lingo (20)

PDF
ConnectJS 2015: Video Killed the Telephone Star
PDF
AstriCon 2015: WebRTC: How it Works, and How it Breaks
PDF
FreeSWITCH, FreeSWITCH Everywhere, and Not A Phone In Sight
PDF
Using Asterisk to Create "Her"
PDF
Tipping the Scales: Measuring and Scaling Asterisk
PDF
WebRTC Overview by Dan Burnett
PDF
AdhearsionConf 2013 Keynote
PDF
Speech-Enabling Web Apps
PDF
WebRTC: What? How? Why? - ClueCon 2013
PDF
Infiltrando Telecoms Usando Ruby
PDF
Enhancing FreePBX with Adhearsion
PDF
Connecting Adhearsion
PDF
Testing Adhearsion Applications
PDF
Testing Telephony: It's Not All Terrible
PDF
Rayo for XMPP Folks
PDF
Building Real Life Applications with Adhearsion
PDF
Integrating Voice Through Adhearsion
PDF
Multidextrous Voice Application Framework
PDF
Voice Applications with Adhearsion
PDF
A Hackaton Focused on Call Control
ConnectJS 2015: Video Killed the Telephone Star
AstriCon 2015: WebRTC: How it Works, and How it Breaks
FreeSWITCH, FreeSWITCH Everywhere, and Not A Phone In Sight
Using Asterisk to Create "Her"
Tipping the Scales: Measuring and Scaling Asterisk
WebRTC Overview by Dan Burnett
AdhearsionConf 2013 Keynote
Speech-Enabling Web Apps
WebRTC: What? How? Why? - ClueCon 2013
Infiltrando Telecoms Usando Ruby
Enhancing FreePBX with Adhearsion
Connecting Adhearsion
Testing Adhearsion Applications
Testing Telephony: It's Not All Terrible
Rayo for XMPP Folks
Building Real Life Applications with Adhearsion
Integrating Voice Through Adhearsion
Multidextrous Voice Application Framework
Voice Applications with Adhearsion
A Hackaton Focused on Call Control
Ad

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPT
What is a Computer? Input Devices /output devices
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
STKI Israel Market Study 2025 version august
PDF
Hybrid model detection and classification of lung cancer
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
1. Introduction to Computer Programming.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
August Patch Tuesday
PDF
Getting started with AI Agents and Multi-Agent Systems
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A comparative study of natural language inference in Swahili using monolingua...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Module 1.ppt Iot fundamentals and Architecture
O2C Customer Invoices to Receipt V15A.pptx
A novel scalable deep ensemble learning framework for big data classification...
Tartificialntelligence_presentation.pptx
Enhancing emotion recognition model for a student engagement use case through...
What is a Computer? Input Devices /output devices
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
STKI Israel Market Study 2025 version august
Hybrid model detection and classification of lung cancer
NewMind AI Weekly Chronicles – August ’25 Week III
Group 1 Presentation -Planning and Decision Making .pptx
cloud_computing_Infrastucture_as_cloud_p
1. Introduction to Computer Programming.pptx
OMC Textile Division Presentation 2021.pptx
August Patch Tuesday
Getting started with AI Agents and Multi-Agent Systems

Infiltrating Telecoms Using Ruby