bring your infrastructure to the cloud with twilio sip

25
#TWILIOCON Bring your infrastructure to the cloud with Twilio SIP JOHN WOLTHUIS, CO-FOUNDER @THUDDWHIRR JONAS BORJESSON, TECH LEAD SIP @BORJESSONJONAS Wednesday, September 25, 13

Upload: twilio

Post on 05-Dec-2014

1.480 views

Category:

Technology


2 download

DESCRIPTION

This is a talk about Twilio's new SIP capabilities given by Twilio Co-founder, John Wolthuis, and SIP Tech Lead, Jonas Borjesson, at TwilioCon 2013.

TRANSCRIPT

Page 1: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Bring your infrastructure to the cloud with Twilio SIP

JOHN WOLTHUIS, CO-FOUNDER @THUDDWHIRR

JONAS BORJESSON, TECH LEAD SIP @BORJESSONJONAS

Wednesday, September 25, 13

Page 2: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

What is SIP anyway?You’ve probably heard about SIP before. Let’s find out what it really is.

Wednesday, September 25, 13

Page 3: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Session Initiation Protocol.

Wednesday, September 25, 13

Page 4: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

What is SIP about? Initiating & Managing Sessions.

Wednesday, September 25, 13

Page 5: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

What is a SIP session? It can be anything!

Wednesday, September 25, 13

Page 6: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

SIP at Twilio. A deep dive.Let’s take a look at what Twilio does with SIP and some of the new features

that we’ve announced.

Wednesday, September 25, 13

Page 7: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

<Dial>        <Sip>[email protected]</Sip></Dial>

Wednesday, September 25, 13

Page 8: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

SIP

SIP

<Response>

<Dial>

415-867-5309

</Dial>

<Response>

Wednesday, September 25, 13

Page 9: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

SIP

SIP

<Response>

<Dial>

<Sip>[email protected]</Sip>

</Dial>

<Response>

Wednesday, September 25, 13

Page 10: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

ahoy.sip.twilio.com

TWILIOCON 2013

Wednesday, September 25, 13

Page 11: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Sending SIP to Twilio

Wednesday, September 25, 13

Page 12: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Sending SIP to Twilio

ahoy.sip.twilio.comTwilio SIP Domain

Wednesday, September 25, 13

Page 13: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Sending SIP to Twilio

SIP

ahoy.sip.twilio.comTwilio SIP Domain

Wednesday, September 25, 13

Page 14: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Sending SIP to Twilio

SIP

ahoy.sip.twilio.comTwilio SIP Domain

http://www.example.com/app.php

<Response> <Say>Please wait as we connect you</Say> <Dial>+1-415-555-1212</Dial><Response>

Wednesday, September 25, 13

Page 15: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Connect to Anything

SIP RTC

SIP

Wednesday, September 25, 13

Page 16: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Twilio + SIP = Harmony.

Twilio is making SIP easy. Map your domain

ahoy.sip.twilio.com

to a voice URL and secure it with Twilio’s SIP tools.

Wednesday, September 25, 13

Page 17: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Let’s do it Live.

Wednesday, September 25, 13

Page 18: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

How does Twilio handle SIP Security?Let’s take a look at some of the tools that are available to help you secure

your Twilio SIP integration.

Wednesday, September 25, 13

Page 19: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

SIP != HTTP. We have to think about security differently.

We can’t approach securing SIP in the same way that we secure HTTP.

Attackers have very different goals in mind.

Vs.HTTPVandalism & Data Theft

SIPTelco Fraud

Wednesday, September 25, 13

Page 20: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Twilio SIP Security: Features

1. IP Access Control Lists (IP ACLs)

2. Authentication Credentials Lists

3. The <Reject /> Verb

Wednesday, September 25, 13

Page 21: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Twilio SIP Security: IP Access Control Lists

Think of IP ACL as a firewall for your SIP domain.

When using a multi-tenant system, IP ACL alone won’t

do the trick.

HOW IT WORKS

Each IP ACL can be associated with many domains.

Each domain can be associated with many IP ACLs.SETUP

Wednesday, September 25, 13

Page 22: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Twilio SIP Security: Authenticated Credentials List

All requests to the domain require username / password

to authenticate. Identical to HTTP Digest Auth.AUTHENTICATION

Works with IP ACL to accept traffic from multi-tenant

systems. Without IP ACL, allows traffic from any IP.IP ACL INTEGRATION

Wednesday, September 25, 13

Page 23: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

Twilio SIP Security: The <Reject/> Verb

Your TwiML application knows good behavior from bad.

Includes info about SIP INVITE.TwiML + SIP

Use the <Reject /> verb to block suspicious, excessive,

& incorrect traffic.RESTRICT TRAFFIC

Wednesday, September 25, 13

Page 24: Bring your Infrastructure to the Cloud with Twilio SIP

#TWILIOCON

• Twilio now accepts incoming calls with SIP

Twilio SIP: In Closing

• Security is managed via IP ACLs, Credentials, & TwiML

• Incoming calls map to TwiML URLs via SIP Domains

• All this can be managed in the Account Portal or the REST API

Wednesday, September 25, 13

Page 25: Bring your Infrastructure to the Cloud with Twilio SIP

QUESTIONS?

Wednesday, September 25, 13