Introducing Asterisk 11
WebSockets, WebRTC and More

                           Steve Sokol
             Asterisk Marketing & Evangelism
What is Asterisk?

§  Communications Engine
§  Open Source Project
§  2+ Million Downloads Each Year
§  Over 1 Million Production Deployments
§  85,000 Registered Community Members
§  Under Development Since 1999




      Creative Innovation – Customer Satisfaction – Continual Quality Improvement   2
What Does Asterisk Do?

§  Plumbing:
    §  Protocol Implementations                                       §  Session Management
    §  Media I/O                                                      §  Intermediary Services
    §  Media Management


§  Applications
   §  Call Routing (“Dialplan”)                                     §  Automated Attendant

   §  Voicemail                                                     §  Directory

   §  Conference Bridge                                             §  Call Parking

   §  Queues

                   Creative Innovation – Customer Satisfaction – Continual Quality Improvement     3
How Do You Use Asterisk?

§  As An Application Until Itself:
    §  Hand-Crafted “One-Off” Implementations
    §  Dialplan Script Programming + Configuration Files
    §  PBX, VoIP Gateway, IVR, ACD, Etc.


§  As A Tool-Kit / Engine:
   §  Use External Interfaces: AGI, AMI
   §  “Wrap” Asterisk To Manage
   §  Build Custom Applications & Solutions
   §  Create Communications Products

                Creative Innovation – Customer Satisfaction – Continual Quality Improvement   4
Elastix and Asterisk

§  Asterisk = Communications Engine
   §  VoIP and PSTN Connectivity
   §  Session (Call) Management
   §  Basic Applications
§  Elastix = PBX / Business Logic
   §  Call Flow and Treatment
   §  End User Features
   §  Intuitive Admin Interface
   §  Additional UC Modalities (IM, Email, Calendar, Etc.)


               Creative Innovation – Customer Satisfaction – Continual Quality Improvement   5
Asterisk Releases – 1.8 LTS

§  Asterisk 1.8 LTS
   §  Released 2 Year Ago (AstriCon 2010)
   §  Long Term Support (LTS)
   §  Added:
       §  Secure Calling (SRTP / SIP TLS)
       §  IPv6 Support
       §  Calendar Integration
       §  XMPP Device State
       §  Channel Event Logging
       §  Google Voice / Chat / Talk Calling (Sort Of)
       §  “ISDN” Features (AOC, CCSS, CPID)
                Creative Innovation – Customer Satisfaction – Continual Quality Improvement   6
Asterisk Releases - Asterisk 10

§  Asterisk 10
    §  Released ~1 year ago (AstriCon 2011)
    §  Standard Release (1 Year Lifespan)
    §  Added:
        §  HD Media Engine
        §  New Codecs
        §  ConfBridge HD Audio / Video conferencing
        §  T.38 Gateway
        §  Text Message Routing


                  Creative Innovation – Customer Satisfaction – Continual Quality Improvement   7
Asterisk Releases – Certified Asterisk

§  Asterisk Release Policy 101
   §  Mainline releases never get new features
   §  Mainline releases contain everything
§  Mainline Asterisk Is Updated Frequently
   §  About one new release each month
   §  Good In Some Ways
       §  Bugs get fixed quickly

   §  Bad In Some Ways
       §  Rapidly moving target
       §  No new features

               Creative Innovation – Customer Satisfaction – Continual Quality Improvement   8
Asterisk Releases – Certified Asterisk

§  Certified Asterisk
    §  Based on the most recent LTS release
    §  Removes unsupportable modules
    §  Undergoes additional testing process
    §  Includes limited number of high-value new features
    §  Updated quarterly
    §  Still Free Software: Same GPLv2 License




                Creative Innovation – Customer Satisfaction – Continual Quality Improvement   9
Certified Asterisk

§  CERT1 Release
   §  Based on 1.8 LTS
   §  Back-ports SIP message routing from Asterisk 10
   §  Adds additional APIs to Voicemail, Queues, Parking
§  Why?
   §  Support For SLA Customers
   §  Digium’s Asterisk Phones




                Creative Innovation – Customer Satisfaction – Continual Quality Improvement   10
Phones For Asterisk

§  Digium D40, D50, D70 – Built For Asterisk Systems
§  Super Simple Provisioning
   §  Discovery via mDNS / Bonjour
   §  Uses SIP channel

§  Integrated Applications:
   §  Visual Voicemail
   §  Visual Call Parking
   §  Queue Management
   §  Presence / Status
   §  Call Deflection / Direct VM



                Creative Innovation – Customer Satisfaction – Continual Quality Improvement   11
Asterisk 11

§  LTS Release
    §  5 years of full support
    §  1 additional year of security support
    §  Takes you to 2018
§  LTS = Stability NOT Features
    §  Architectural-level bug fixes
    §  Performance enhancements
    §  Significant refactoring of existing features / functions




                 Creative Innovation – Customer Satisfaction – Continual Quality Improvement   12
New In Asterisk 11

§  Chan_motif – Google / Jingle / XMPP Done Right
    §  Combines chan_google and chan_jingle into a single driver
    §  Uses completely refactored XMPP engine (res_xmpp)
    §  More stable / less difficult to keep up with Google


§  WebSockets Support For SIP
    §  SIP uses multiple transports: UDP, TCP, TLS now WS
    §  New protocol used by web applications for bi-directional,
        asynchronous communications
    §  Integrated into onboard HTTP server in Asterisk




                 Creative Innovation – Customer Satisfaction – Continual Quality Improvement   13
Why WebSockets?

§  WebRTC – A New Paradigm For Communications
   §  Adds real-time communications to web browsers
       §  Audio (Speakers / Microphone)
       §  Video (Display / Camera)
   §  Implements tools for media session management
       §  NAT traversal (STUN, TURN, ICE)
       §  Codecs (G.711, Opus)
   §  Defines JavaScript APIs for media access, peer connection
   §  Leaves the signaling protocol / process open to the application
       developer




               Creative Innovation – Customer Satisfaction – Continual Quality Improvement   14
SIP + WebSockets + WebRTC

§  Adding WebSockets to Asterisk enables
   §  SIP over WebSockets (available in Asterisk 11)
   §  XMPP / Jingle over WebSockets (future version)
   §  ??? Over WebSockets (as soon as you like)
§  Other WebRTC changes
   §  Improved RTP / SRTP handling
   §  ICE support
   §  SDP improvements




                Creative Innovation – Customer Satisfaction – Continual Quality Improvement   15
This Is Revolutionary Stuff!

§  Instantly VoIP enabling every browser in the world
§  No software to install
§  Interoperability with existing VoIP technologies using RTP
    §  SIP

§  Open standards: anyone can play
§  True unified communications
    §  Voice + Video Calling
    §  Screen Sharing
    §  Conferencing




                 Creative Innovation – Customer Satisfaction – Continual Quality Improvement   16
Next Up: Asterisk 12

§  Asterisk is 13 years old
§  Asterisk has some architectural issues that need addressing
§  Asterisk has a very, very large installed base of users
§  How to make improvements without breaking things
§  Help us define the next release:
    §  Join us at AstriDevCon: October 22, 2012 in Atlanta
    §  One day prior to AstriCon




                  Creative Innovation – Customer Satisfaction – Continual Quality Improvement   17
Thanks!

Creative Innovation – Customer Satisfaction – Continual Quality Improvement   18

Asterisk Update

  • 1.
    Introducing Asterisk 11 WebSockets,WebRTC and More Steve Sokol Asterisk Marketing & Evangelism
  • 2.
    What is Asterisk? § Communications Engine §  Open Source Project §  2+ Million Downloads Each Year §  Over 1 Million Production Deployments §  85,000 Registered Community Members §  Under Development Since 1999 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2
  • 3.
    What Does AsteriskDo? §  Plumbing: §  Protocol Implementations §  Session Management §  Media I/O §  Intermediary Services §  Media Management §  Applications §  Call Routing (“Dialplan”) §  Automated Attendant §  Voicemail §  Directory §  Conference Bridge §  Call Parking §  Queues Creative Innovation – Customer Satisfaction – Continual Quality Improvement 3
  • 4.
    How Do YouUse Asterisk? §  As An Application Until Itself: §  Hand-Crafted “One-Off” Implementations §  Dialplan Script Programming + Configuration Files §  PBX, VoIP Gateway, IVR, ACD, Etc. §  As A Tool-Kit / Engine: §  Use External Interfaces: AGI, AMI §  “Wrap” Asterisk To Manage §  Build Custom Applications & Solutions §  Create Communications Products Creative Innovation – Customer Satisfaction – Continual Quality Improvement 4
  • 5.
    Elastix and Asterisk § Asterisk = Communications Engine §  VoIP and PSTN Connectivity §  Session (Call) Management §  Basic Applications §  Elastix = PBX / Business Logic §  Call Flow and Treatment §  End User Features §  Intuitive Admin Interface §  Additional UC Modalities (IM, Email, Calendar, Etc.) Creative Innovation – Customer Satisfaction – Continual Quality Improvement 5
  • 6.
    Asterisk Releases –1.8 LTS §  Asterisk 1.8 LTS §  Released 2 Year Ago (AstriCon 2010) §  Long Term Support (LTS) §  Added: §  Secure Calling (SRTP / SIP TLS) §  IPv6 Support §  Calendar Integration §  XMPP Device State §  Channel Event Logging §  Google Voice / Chat / Talk Calling (Sort Of) §  “ISDN” Features (AOC, CCSS, CPID) Creative Innovation – Customer Satisfaction – Continual Quality Improvement 6
  • 7.
    Asterisk Releases -Asterisk 10 §  Asterisk 10 §  Released ~1 year ago (AstriCon 2011) §  Standard Release (1 Year Lifespan) §  Added: §  HD Media Engine §  New Codecs §  ConfBridge HD Audio / Video conferencing §  T.38 Gateway §  Text Message Routing Creative Innovation – Customer Satisfaction – Continual Quality Improvement 7
  • 8.
    Asterisk Releases –Certified Asterisk §  Asterisk Release Policy 101 §  Mainline releases never get new features §  Mainline releases contain everything §  Mainline Asterisk Is Updated Frequently §  About one new release each month §  Good In Some Ways §  Bugs get fixed quickly §  Bad In Some Ways §  Rapidly moving target §  No new features Creative Innovation – Customer Satisfaction – Continual Quality Improvement 8
  • 9.
    Asterisk Releases –Certified Asterisk §  Certified Asterisk §  Based on the most recent LTS release §  Removes unsupportable modules §  Undergoes additional testing process §  Includes limited number of high-value new features §  Updated quarterly §  Still Free Software: Same GPLv2 License Creative Innovation – Customer Satisfaction – Continual Quality Improvement 9
  • 10.
    Certified Asterisk §  CERT1Release §  Based on 1.8 LTS §  Back-ports SIP message routing from Asterisk 10 §  Adds additional APIs to Voicemail, Queues, Parking §  Why? §  Support For SLA Customers §  Digium’s Asterisk Phones Creative Innovation – Customer Satisfaction – Continual Quality Improvement 10
  • 11.
    Phones For Asterisk § Digium D40, D50, D70 – Built For Asterisk Systems §  Super Simple Provisioning §  Discovery via mDNS / Bonjour §  Uses SIP channel §  Integrated Applications: §  Visual Voicemail §  Visual Call Parking §  Queue Management §  Presence / Status §  Call Deflection / Direct VM Creative Innovation – Customer Satisfaction – Continual Quality Improvement 11
  • 12.
    Asterisk 11 §  LTSRelease §  5 years of full support §  1 additional year of security support §  Takes you to 2018 §  LTS = Stability NOT Features §  Architectural-level bug fixes §  Performance enhancements §  Significant refactoring of existing features / functions Creative Innovation – Customer Satisfaction – Continual Quality Improvement 12
  • 13.
    New In Asterisk11 §  Chan_motif – Google / Jingle / XMPP Done Right §  Combines chan_google and chan_jingle into a single driver §  Uses completely refactored XMPP engine (res_xmpp) §  More stable / less difficult to keep up with Google §  WebSockets Support For SIP §  SIP uses multiple transports: UDP, TCP, TLS now WS §  New protocol used by web applications for bi-directional, asynchronous communications §  Integrated into onboard HTTP server in Asterisk Creative Innovation – Customer Satisfaction – Continual Quality Improvement 13
  • 14.
    Why WebSockets? §  WebRTC– A New Paradigm For Communications §  Adds real-time communications to web browsers §  Audio (Speakers / Microphone) §  Video (Display / Camera) §  Implements tools for media session management §  NAT traversal (STUN, TURN, ICE) §  Codecs (G.711, Opus) §  Defines JavaScript APIs for media access, peer connection §  Leaves the signaling protocol / process open to the application developer Creative Innovation – Customer Satisfaction – Continual Quality Improvement 14
  • 15.
    SIP + WebSockets+ WebRTC §  Adding WebSockets to Asterisk enables §  SIP over WebSockets (available in Asterisk 11) §  XMPP / Jingle over WebSockets (future version) §  ??? Over WebSockets (as soon as you like) §  Other WebRTC changes §  Improved RTP / SRTP handling §  ICE support §  SDP improvements Creative Innovation – Customer Satisfaction – Continual Quality Improvement 15
  • 16.
    This Is RevolutionaryStuff! §  Instantly VoIP enabling every browser in the world §  No software to install §  Interoperability with existing VoIP technologies using RTP §  SIP §  Open standards: anyone can play §  True unified communications §  Voice + Video Calling §  Screen Sharing §  Conferencing Creative Innovation – Customer Satisfaction – Continual Quality Improvement 16
  • 17.
    Next Up: Asterisk12 §  Asterisk is 13 years old §  Asterisk has some architectural issues that need addressing §  Asterisk has a very, very large installed base of users §  How to make improvements without breaking things §  Help us define the next release: §  Join us at AstriDevCon: October 22, 2012 in Atlanta §  One day prior to AstriCon Creative Innovation – Customer Satisfaction – Continual Quality Improvement 17
  • 18.
    Thanks! Creative Innovation –Customer Satisfaction – Continual Quality Improvement 18