Your SlideShare is downloading. ×
Asterisk and WebRTC - Digium 'Demo & Eggs' Presentation Slides
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Asterisk and WebRTC - Digium 'Demo & Eggs' Presentation Slides

1,892
views

Published on

Digium 'Demo & Eggs' Breakfast Presentation slides, as shown at WebRTC World III on November 21, 2013. …

Digium 'Demo & Eggs' Breakfast Presentation slides, as shown at WebRTC World III on November 21, 2013.
These slides we used in a presentation which also featured a live demo of a WebRTC-enabled Asterisk appliance (based on a Raspberry Pi just for fun) serving a web page that contained the JsSIP soft phone.
Audience members were able to connect to our WiFi network and use Chrome or Firefox to browse to this page, and them make a call to each other, to a Digium phone, to hear a message from Allison (THE Voice of Asterisk) or to go into a conference call with each other.

Published in: Technology, Business

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,892
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
53
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Demo and Eggs: Asterisk and WebRTC David Duffett Working with the Worldwide Asterisk Community Steve Sokol In charge of cool stuff, a law unto himself
  • 2. Our agenda for today  The big lie about Asterisk  WebRTC and Asterisk  Typical deployment scenarios – Gateway functionality – Media facility  How to create your own FREE WebRTC gateway  Demo components  The actual demo  Recap of the key points Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2
  • 3. The BIG lies  General:  1. I will love you as much tomorrow morning as I do tonight  2. The check is in the mail  3. I am from HR, and here to help you  About Asterisk:  Asterisk is just an Open Source PBX Creative Innovation – Customer Satisfaction – Continual Quality Improvement 3
  • 4. About Asterisk  The most popular and established Open Source Communications Engine IN THE WORLD!  Native support for IP telephony, and almost any legacy connection using adaptors (like Digium cards) – – – – PRI BRI FXO FXS  A successful Open Source Project by virtually any measure Creative Innovation – Customer Satisfaction – Continual Quality Improvement 4
  • 5. About the Asterisk Community  Asterisk is an Open Source project  This means anyone can contribute to the progress of the project – – – – – Writing code Fixing bugs Test functionality Writing documentation Helping others  It also means that Asterisk has been strengthened in many directions by those that had the interest and motivation to do it Creative Innovation – Customer Satisfaction – Continual Quality Improvement 5
  • 6. 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 6
  • 7. How Do You Use Asterisk?  As An Application Unit 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 7
  • 8. 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 8
  • 9. In Asterisk 11  WebSockets Support For SIP  SIP uses multiple transports: UDP, TCP, TLS and now WS, WSS  New protocol used by web applications for bi-directional, asynchronous communications  Integrated into onboard HTTP server in Asterisk  WebRTC support, including NAT traversal  ICE  STUN  TURN  Support for G.711a/u law Creative Innovation – Customer Satisfaction – Continual Quality Improvement 9
  • 10. NEW In Asterisk 12  Opus and VP8 support  Pass-through only at this point  Very importantly…  ARI – This is a new RESTful API for app developers to use Asterisk through Creative Innovation – Customer Satisfaction – Continual Quality Improvement 10
  • 11. Typical deployment scenario  Connectivity to legacy equipment and networks  GATEWAY from WebRTC to  SIP  PRI  FXO/FXS  IAX2  And many, many more! Creative Innovation – Customer Satisfaction – Continual Quality Improvement 11
  • 12. Typical deployment scenario  Providing the intelligence and comfort…  MEDIA SERVER  Prompts  Tone Detection  Tone Recognition  Recording  Conferencing  Routing  Call data manipulation Creative Innovation – Customer Satisfaction – Continual Quality Improvement 12
  • 13. Case Study – Instant Solutions  Instant Solutions, Brazil  Product – Instant Voice  10 years - using Asterisk since 1.0  Custom CC ACD solutions, small to large enterprise  200 customers worldwide  Mission critical Applications  Originally tried WebRTC integration by downloading Chrome source code and writing a new channel driver for Asterisk  Moved to Asterisk native WebRTC support to simplify deployments  Instant Voice WebRTC – in production, and deployed! Creative Innovation – Customer Satisfaction – Continual Quality Improvement 13
  • 14. Case Study – Instant Solutions  Instant Voice WebRTC was showcased at WebRTC World II – remember the Brazilian Football shirt?  Deployed in a Brazilian comercial Bank  100 Agents using Chrome  Uses WebRTC DATA channel  Uses the data channel - callerID, customer Info, CRM  Queue data and everything in the browser  Before needed 2 apps, but now everything is in the browser!! Creative Innovation – Customer Satisfaction – Continual Quality Improvement 14
  • 15. Case Study – Instant Solutions Contact Paulo Mannheimer at Instant to learn more: paulohm@instant.com.br Creative Innovation – Customer Satisfaction – Continual Quality Improvement 15
  • 16. Your recipe for a FREE WebRTC demo  Get a Linux box  Add ‘libsrtp’  Add Asterisk 11.x.x or 12.x.x Beta  Follow the instructions to enable WebRTC support at:  wiki.asterisk.org  Enable WS,WSS transport  Enable ICE support  Some SIP settings  Add a basic dialplan  IT’S ALMOST TOO EASY! Creative Innovation – Customer Satisfaction – Continual Quality Improvement 16
  • 17. Now for a WebRTC demo on the the Raspberry Pi !!  What is the Raspberry Pi?  A small but fully functional ARM based computer that runs Linux  Originally developed to allow young people to start programming at a very low cost ($40 US)  A number of Asterisk implementations, including PBX in a Flash/Incredible Pi by Ward Mundy Creative Innovation – Customer Satisfaction – Continual Quality Improvement 17
  • 18. More about the Raspberry Pi Creative Innovation – Customer Satisfaction – Continual Quality Improvement 18
  • 19. This is my Pi Rasberry Pi – Model B 512 Mb RAM Asterisk 11.4.0 DPMA (Digium Phone Module for Asterisk) DHCP server WiFi Access Point It‟s on the Digium table Creative Innovation – Customer Satisfaction – Continual Quality Improvement 19
  • 20. Asterisk is running an HTTP server, Serving a JsSIP soft phone  Connect to WiFi network ‘Asterisk_Pi’ or ‘Asterisk_Pi_EXT’  Browse to http://192.168.42.1:8088  Enter credentials into the ‘User’ field:  702, 703, 704 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 20
  • 21. This is what you will see next Creative Innovation – Customer Satisfaction – Continual Quality Improvement 21
  • 22. Remember to click „Allow‟ Creative Innovation – Customer Satisfaction – Continual Quality Improvement 22
  • 23. If everything works…  After a short pause, you should hear a special message  From the lovely Allison – THE Voice of Asterisk Creative Innovation – Customer Satisfaction – Continual Quality Improvement 23
  • 24. Big Thanks to the authors of JsSIP  http://jssip.net Creative Innovation – Customer Satisfaction – Continual Quality Improvement 24
  • 25. RetroRTC Creative Innovation – Customer Satisfaction – Continual Quality Improvement 25
  • 26. What questions do you have? ? Creative Innovation – Customer Satisfaction – Continual Quality Improvement 26
  • 27. Summary  Asterisk is a mature and established Open Source Communications Engine  WebRTC support has been in since Asterisk 11.0.0  Your WebRTC implementation is FREE  Gateway to anything else that Asterisk supports  All the media services you need  For Asterisk-related stuff, ALWAYS THINK DIGIUM Creative Innovation – Customer Satisfaction – Continual Quality Improvement 27
  • 28. Thanks! www.asterisk.org @dduffett @digium.com @ssokol @digium.com Creative Innovation – Customer Satisfaction – Continual Quality Improvement 28