Open Source Telephone Systems Made Easy With Plivo

22
www.clintberry.com Presented by CLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONY Plivo Making Open Source Telephone Systems Easy

description

Plivo is a communications framework to rapidly build voice based apps, to make or receive calls, using your existing web development skills and infrastructure. It works with FreeSWITCH, so no paying cloud fees to Twilio any more...

Transcript of Open Source Telephone Systems Made Easy With Plivo

Page 1: Open Source Telephone Systems Made Easy With Plivo

www.clintberry.com

Presented byPresented by

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONY

Plivo Making Open Source Telephone Systems Easy

Page 2: Open Source Telephone Systems Made Easy With Plivo

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONY

About MeCurrently the Lead Developer

at MediConnect Global in the PHR division. Proud husband and father.

I love open source

I love the web

I love wakeboarding

Go Jazz!

I love telephones

Page 3: Open Source Telephone Systems Made Easy With Plivo

Quick HISTORY LESSONLet’s look at the history of open source telephone systems

Mark provided telephone support for Linux. He was looking for a way to get a professional level call center for much cheaper than the solutions offered at the time. Written in C

Created in 1999 by Mark Spencer

Anthony contributed heavily to the asterisk code base, but ultimately found that asterisk wasn’t as stable or scalable as he needed. Written in mostly C/C++

Created in 2006 by Anthony Minessale

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONY

Page 4: Open Source Telephone Systems Made Easy With Plivo

A Few DRAWBACKS

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

• Learning curve can be steepBasic installs are easy, but advanced applications can be difficult

• Web IntegrationIntegrating with web applications isn’t intuitive to a web developer

Page 5: Open Source Telephone Systems Made Easy With Plivo

Web Phone REVOLUTIONThe good, the great, and the not so great

Chart TitleProgram phone apps in your language

Twilio makes it easy to program phone apps in the web language of your choice. Power to the web developer!

Built on Asterisk

While this probably ended up biting them in the butt, it still is amazing it is built on open-source

Scalability and Hassle-Free

They manage the scaling of your application and they manage the telephony technolgy. You simply manage your application

Price and Locked in

While twilio appears cheap on the surface, it doesn’t include your local telephone service. You are also locked in to their cloud.

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONY

Page 6: Open Source Telephone Systems Made Easy With Plivo

Welcome to FREEDOMEasy to develop telephone apps while still maintaining control

Chart Title

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

What is Plivo?A communication framework to rapidly build voice based apps, to make or receive calls, using your existing web development skills and infrastructure.

Page 7: Open Source Telephone Systems Made Easy With Plivo

Why Plivo is AWESOME

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

• Use the web languages you already know to make advanced voice applications

• Runs on FreeSWITCH (Stable, more scalable)• Maintain full control of your telephony stack,

including your VOIP provider• RESTful (sort of) / Easy API

Page 8: Open Source Telephone Systems Made Easy With Plivo

How it WORKS

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

Page 9: Open Source Telephone Systems Made Easy With Plivo

How To INSTALL

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

./install.sh./plivo_install.sh

PhonyBox (ComingSoon)

Page 10: Open Source Telephone Systems Made Easy With Plivo

Working With PLIVO

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

RESTAPI

RESTXML

Page 11: Open Source Telephone Systems Made Easy With Plivo

How To MAKE A CALL

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

http://127.0.0.1:8088/v0.1/Call/

{ To: 1005 From: 1001 Gateways: user/ AnswerUrl: http://localhost:3000/answer/}

Page 12: Open Source Telephone Systems Made Easy With Plivo

Let’s MAKE A CALL

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

Page 13: Open Source Telephone Systems Made Easy With Plivo

How To ANSWER A CALL

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

Accepting Connections onhttp://127.0.0.1:3000/answer/

<Response> <Speak>Hello and welcome to Pleevo</Speak></Response>

Page 14: Open Source Telephone Systems Made Easy With Plivo

Let’s ANSWER A CALL

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

Page 15: Open Source Telephone Systems Made Easy With Plivo

Other FEATURES

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

• Make bulk outbound calls• Manage conference calls• Record calls• Redirect to multiple devices

Page 16: Open Source Telephone Systems Made Easy With Plivo

Awesome to AWESOME’RReal time voice-enabled web applications via websockets

Chart Title

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

Page 17: Open Source Telephone Systems Made Easy With Plivo

Awesome to AWESOME’RReal time voice-enabled web applications via websockets

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

• Node.js’s asynchronous nature makes it ideal for telephone apps

• Real time applications with Node.js are VERY easy• Backbone.js is a front-end javascript framework

that uses 100% ajax for loading data (no page refreshes)

Page 18: Open Source Telephone Systems Made Easy With Plivo

Basic DemoReal time voice-enabled web applications via websockets

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONY

Under 70 lines of code

Page 19: Open Source Telephone Systems Made Easy With Plivo

What Does This MEAN?

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

• Not necessarily new ideas• Lower Barriers to Entry• Cheaper for small businesses• More and more open source code

Page 20: Open Source Telephone Systems Made Easy With Plivo

The FUTURE

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

• Plivo Cloud• PhonyBox

Page 21: Open Source Telephone Systems Made Easy With Plivo

In CONCLUSION

www.clintberry.com

PRESENTED BYPRESENTED BY

CLINT BERRYCLINT BERRY PLIVO & EASY OPEN SOURCE TELEPHONYPLIVO & EASY OPEN SOURCE TELEPHONYWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

2 of 72 of 7

PHONES ARE AWESOME!

Page 22: Open Source Telephone Systems Made Easy With Plivo

www.totalydarkpowerpointtemplate.com

YOU ARE LOOKING ATYOU ARE LOOKING AT

Presenter NamePresenter NamePRESENTERPRESENTER

TODAY TOPIS ISTODAY TOPIS IS

HERE GOES THE TITLE OF THE TOPICHERE GOES THE TITLE OF THE TOPICWE ARE CURRENTLY HEREWE ARE CURRENTLY HERE

7 of 77 of 7

Questions?