kazoocon 2014 - ziron, sms for voice people

45
SMS for voice people Alex Kinch CEO and Founder, Ziron [email protected] / @alexkinch

Upload: james-solada

Post on 26-May-2015

1.089 views

Category:

Sports


6 download

TRANSCRIPT

Page 1: KazooCon 2014 - Ziron, SMS for voice people

SMS for voice people

Alex Kinch CEO and Founder, Ziron [email protected] / @alexkinch

Page 2: KazooCon 2014 - Ziron, SMS for voice people

About Ziron

●  Next generation global wholesale voice and messaging carrier

●  Founded in 2011, team based in the UK, US and Australia

●  Core footprint: ●  Europe: UK, Ireland ●  North America: US, Canada ●  Asia Pacific: Australia, New Zealand

●  Services: ●  Voice and SMS enabled DIDs ●  Outbound SMS ●  Number Lookup

2

Page 3: KazooCon 2014 - Ziron, SMS for voice people

About Alex

●  Background in IP networks and mobile (nearly 20 years)

●  Involved in voice since 1997

●  Built my first SMS service in 1998

●  One of the founders of LONAP IXP

●  English

●  Likes: Tea, complaining about the weather

3

Page 4: KazooCon 2014 - Ziron, SMS for voice people

A BRIEF HISTORY OF SMS

4

Page 5: KazooCon 2014 - Ziron, SMS for voice people

FRIEDHELM HILLEBRAND

When: 1984 Where: Germany What: 160 characters

5

Page 6: KazooCon 2014 - Ziron, SMS for voice people

NOKIA 1011

When: 10 November, 1992 Where: Germany What: The first SMS-capable handset

6

Page 7: KazooCon 2014 - Ziron, SMS for voice people

NEIL PAPWORTH

When: December 3, 1992 Where: United Kingdom What: The first SMS message

7

Page 8: KazooCon 2014 - Ziron, SMS for voice people

VODAFONE

When: 1998 Where: United Kingdom What: The first A2P SMS

8

Page 9: KazooCon 2014 - Ziron, SMS for voice people

TEGIC

When: 1995 Where: Seattle, WA What: The first predictive text software

9

Page 10: KazooCon 2014 - Ziron, SMS for voice people

MOBILE OPERATORS

When: 1999 Where: Everywhere What: Cross network SMS

10

Page 11: KazooCon 2014 - Ziron, SMS for voice people

THE CONSUMER

When: 2002 Where: Everywhere What: More than 250 billion SMSs sent around the world

11

Page 12: KazooCon 2014 - Ziron, SMS for voice people

TWITTER

When: July 2006 Where: San Francisco, CA What: SMS-based social network launches

12

Page 13: KazooCon 2014 - Ziron, SMS for voice people

AMERICAN CONSUMERS

When: 2007 Where: US What: SMS usage surpasses calls

13

Page 14: KazooCon 2014 - Ziron, SMS for voice people

BARACK OBAMA

When: 2008 Where: US What: Obama announces Biden as running mate via SMS

14

Page 15: KazooCon 2014 - Ziron, SMS for voice people

THE CONSUMER

When: 2010 Where: Worldwide What: 200K SMS per minute

15

Page 16: KazooCon 2014 - Ziron, SMS for voice people

SMS - THE NUMBERS

16

Page 17: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

$254,664

17

Page 18: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

Every minute of 2013, SMS generated

$254,664 of revenue for mobile network operators worldwide Source: Portio Research

18

Page 19: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

8.3TN

19

Page 20: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

SMS traffic worldwide will peak at

8.3TN messages per year by 2015 Source: Portio Research

20

Page 21: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

SMS traffic worldwide will peak at

8,300,000,000,000 messages per year by 2015 Source: Portio Research

21

Page 22: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

6.5BN

22

Page 23: KazooCon 2014 - Ziron, SMS for voice people

SMS - the numbers

In North America

6.5BN messages are sent every day Source: Portio Research

23

Page 24: KazooCon 2014 - Ziron, SMS for voice people

SMS IS NOT DEAD!

24

Page 25: KazooCon 2014 - Ziron, SMS for voice people

A2P vs P2P

●  You text me or text you: PERSON TO PERSON (P2P)

●  You interact with an automated system: APPLICATION TO PERSON (A2P)

●  DISCLAIMER: I AM NOT A LAWYER

●  US long numbers (MSISDNs, long codes) are supposed to be for P2P usage only

●  CTIA regulations say A2P must be via short codes

25

Page 26: KazooCon 2014 - Ziron, SMS for voice people

WHAT IS A2P SMS USED FOR?

26

Page 27: KazooCon 2014 - Ziron, SMS for voice people

Two factor authentication

27

Page 28: KazooCon 2014 - Ziron, SMS for voice people

SMS for banks

28

Page 29: KazooCon 2014 - Ziron, SMS for voice people

SMS for credit card issuers

29

Page 30: KazooCon 2014 - Ziron, SMS for voice people

Location Services for anti-fraud

30

Page 31: KazooCon 2014 - Ziron, SMS for voice people

SMS for healthcare reminders

31

Page 32: KazooCon 2014 - Ziron, SMS for voice people

SMS for realtime customer care

32

Page 33: KazooCon 2014 - Ziron, SMS for voice people

SMS for deliveries

33

Page 34: KazooCon 2014 - Ziron, SMS for voice people

SMS - THE TECHNOLOGY

34

Page 35: KazooCon 2014 - Ziron, SMS for voice people

SMS technology 101

●  SMS defined in GSM recommendation 0.340 (now 3GPP TS 23.040)

●  ‘Store and forward’ service ●  Uses SS7 MAP layer, 140 octets ●  Three character sets: ●  GSM 7bit (160 characters) ●  8bit alphabet (140 characters) ●  16bit UCS-2 / unicode (70 characters)

●  Concatenation of long messages ●  Reduces length to 153, 134 or 67 characters ●  Theoretical limit of 255 segments, practical limit 6-8

35

Page 36: KazooCon 2014 - Ziron, SMS for voice people

Common SMS Terminology

●  A2P - Application to Person ●  P2P - Person to Person ●  MSISDN - Mobile Station International Subscriber Identity

Number (aka long code, long number, DID) ●  MCC - Mobile Country Code ●  MNC - Mobile Network Code ●  IMSI - International Mobile Subscriber Identity ●  DLR - Delivery Report ●  MAP - Mobile Application Part

36

Page 37: KazooCon 2014 - Ziron, SMS for voice people

SMS and SS7-MAP

●  SMS uses SS7-MAP layer ●  Commands: ●  Send Routing Info for Short Message (SRI-SM) ●  Forward Short Message (FSM)

37

Page 38: KazooCon 2014 - Ziron, SMS for voice people

Mobile Terminated SMS flow

38

Page 39: KazooCon 2014 - Ziron, SMS for voice people

Interfacing to Ziron

●  Inbound SMS: ●  HTTP/S webhook ●  Email ●  SIP MESSAGE ●  SMPP (Q1 2015)

●  Outbound SMS: ●  REST API ●  SIP MESSAGE (Soon!) ●  SMPP (Q1 2015)

39

Page 40: KazooCon 2014 - Ziron, SMS for voice people

DEMO TIME!

40

Page 41: KazooCon 2014 - Ziron, SMS for voice people

Ziron API endpoints

●  Accounts ●  Balances ●  Billing ●  Calls ●  Contact Lists ●  Email to SMS ●  Endpoints

41

●  Lookups ● Messages ●  Numbering ●  Payments ●  Pricing ●  Trunks

API documentation available at http://docs.ziron.com

Page 42: KazooCon 2014 - Ziron, SMS for voice people

“quick and dirty” SMS auto responder

<?php !include 'ziron-php/ziron-api.php'; !include 'config.php'; !!// Restrict access to Ziron IPs !if (!in_array($_SERVER['REMOTE_ADDR'],$config['webhook_ips'])) { ! die('access denied'); !} !!// Use Ziron class !$Ziron = new Ziron($config['account_sid'], $config['auth_token']); !!// Receive SMS !$inbound_message['from'] = $_GET['from']; !$inbound_message['to'] = $_GET['to']; !$inbound_message['body'] = $_GET['message']; !!// Send reply !$outbound_message['src'] = "+".$inbound_message['to']; !$outbound_message['dst'] = "+".$inbound_message['from']; !$outbound_message['data'] = $config['reply_message']; !!$result = $Ziron->message_send($outbound_message); !

42

Ziron PHP library: https://github.com/zironuk/ziron-php

Page 43: KazooCon 2014 - Ziron, SMS for voice people

Setting up an SMS and voice number

●  Get available numbering areas for country (state) (/Numbers/Available/US/CA)

●  Purchase number from required area (/Numbers/Assigned)

●  Create SMS and voice endpoints (/Endpoints)

●  Attach SMS and voice endpoints (/Endpoints)

43

Page 44: KazooCon 2014 - Ziron, SMS for voice people

The final service

Call or send an SMS to:

+1 415 915 6483

44

Page 45: KazooCon 2014 - Ziron, SMS for voice people

Thank you! Alex Kinch CEO and Founder, Ziron [email protected] / @alexkinch Sign up for a FREE account and get $5 / €5 / £5 of FREE credit https://dashboard.ziron.com/signup