Open Source Telephone Systems Made Easy With Plivo

Post on 11-Nov-2014

3.341 views 1 download

Tags:

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

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

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

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

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

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

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.

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

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

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)

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

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/}

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

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>

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

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

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

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)

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

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

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

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!

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?