SlideShare une entreprise Scribd logo
1  sur  15
Twilio
Infrastructure APIs for building voice and
text messaging apps




                                        Michael Peacock
                Twilio Lightning Talk
Collection of “Infrastructure APIs” supporting:

•   Make and receive phone calls
•   Send and receive text messages
•   Buy phone numbers
•   Record caller messages
•   Conference calls
•   IVR: Interactive Voice Response
•   DTMF: Gathering number presses
•   Text to speech

Via the web

                    Twilio Lightning Talk
How does it work?
•   Create an account
•   Buy a phone number ($1/month)
•   Write the code, hosted on your server
•   Link the application to the phone number

• When someone calls the number, twilio
  hooks into your application which tells it
  what to do


                  Twilio Lightning Talk
Writing an application
Its all XML

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Gather numDigits="4" action=“verify.php">
     <Say>
      This is the ACME telephone verification service. To verify
      your telephone number, please enter the four digit code
      shown on your screen now.

     </Say>
  </Gather>
</Response>
                        Twilio Lightning Talk
Writing an application
• <Say> something
• <Play> a file
• <Gather> digits the caller presses
• <Dial> a number to transfer/conference
  the caller
• Send an <Sms>
• <Record> what the caller is saying



                Twilio Lightning Talk
Writing an application
Many of the libraries support generating
“TwiML” programatically. E.g.




                 Twilio Lightning Talk
Application flow
At each stage during the call, you define a
URL for twilio to redirect to.

This allows you to verify details, or act upon
a specific request.




                 Twilio Lightning Talk
Make a call
You don’t have to wait for someone to
phone you. There is a REST API which
allows you to:
  – Initiate a call from your application

  – Send an SMS

  – Buy a phone number




                    Twilio Lightning Talk
Use cases
• Verify a customers phone number
  – https://github.com/mkpeacock/Phone-Number-
    Verification
• Telephone access to your application
  – Let customers check the status of their orders
• Lead generation
  – Use a number per lead source and track your marketing
    efforts

  – A / B testing on your website (auto-provision a number)
• Request a call back form

                      Twilio Lightning Talk
Costs     (its really cheap!)


• Phone numbers: $1/month
  – Inbound calls: 1c/minute

  – Outbound calls: 2c/minute (landlines)

  – Outbound calls: 14c/minute (mobiles)

• Freephone numbers: $2/month
  – Inbound calls: 6c/minute



                   Twilio Lightning Talk
Don’t want to host the code?
For pre-defined basic applications
(twimlets) which don’t require continuous
back and forth between the user and the
server, Twilio can host your code.




                Twilio Lightning Talk
Twimlets
• Call forwarding
• Ring upto 5 numbers until one of them
  answers
• Voicemail
• Simple menu
• Simple message: plays predefined text
  and audio
• Conference calls


                Twilio Lightning Talk
Connect
Twilio connect lets you build and sell twilio
powered applications which then connect to
another users twilio account.

This lets you sell the application, but lets the
buyer pay for their own usage directly.




                  Twilio Lightning Talk
Please turn on your phone
Want to see a live demo?

Call 0191 580 1814 and rate this evenings
talks.




                Twilio Lightning Talk
Any questions?
www.michaelpeacock.co.uk

www.twitter.com/michaelpeacock




               Twilio Lightning Talk

Contenu connexe

Tendances

Tc 2008 11 19
Tc 2008 11 19Tc 2008 11 19
Tc 2008 11 19
jeffiel
 
Skype Day In Taiwan(Tommy)
Skype  Day In  Taiwan(Tommy)Skype  Day In  Taiwan(Tommy)
Skype Day In Taiwan(Tommy)
tommy.sheu
 
Final Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 CloudFinal Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 Cloud
Dealmaker Media
 

Tendances (20)

Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011
 
Tropo Presentation for TADHack
Tropo Presentation for TADHackTropo Presentation for TADHack
Tropo Presentation for TADHack
 
Twilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact CenterTwilio Signal 2016 Serverless Contact Center
Twilio Signal 2016 Serverless Contact Center
 
Twiliobot at Google Wave Meetup 2009-09-14
Twiliobot at Google Wave Meetup 2009-09-14Twiliobot at Google Wave Meetup 2009-09-14
Twiliobot at Google Wave Meetup 2009-09-14
 
Tc 2008 11 19
Tc 2008 11 19Tc 2008 11 19
Tc 2008 11 19
 
Open Source Software Business Model
Open Source Software Business Model Open Source Software Business Model
Open Source Software Business Model
 
AWS Customer Presentation - Twilio
AWS Customer Presentation - TwilioAWS Customer Presentation - Twilio
AWS Customer Presentation - Twilio
 
Skype Day In Taiwan(Tommy)
Skype  Day In  Taiwan(Tommy)Skype  Day In  Taiwan(Tommy)
Skype Day In Taiwan(Tommy)
 
TWILIO SMS Introduction
TWILIO SMS IntroductionTWILIO SMS Introduction
TWILIO SMS Introduction
 
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep DiveTwilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep Dive
 
Building Blocks for Next Generation Contact Centers
Building Blocks for Next Generation Contact CentersBuilding Blocks for Next Generation Contact Centers
Building Blocks for Next Generation Contact Centers
 
Final Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 CloudFinal Twilio Under the Radar 2009 Cloud
Final Twilio Under the Radar 2009 Cloud
 
Twilio using Groovy Grails
Twilio using Groovy GrailsTwilio using Groovy Grails
Twilio using Groovy Grails
 
Twilio Signal 2016 Using Add-ons
Twilio Signal 2016 Using Add-onsTwilio Signal 2016 Using Add-ons
Twilio Signal 2016 Using Add-ons
 
Twilio Signal 2016 Keynote
Twilio Signal 2016 Keynote Twilio Signal 2016 Keynote
Twilio Signal 2016 Keynote
 
Twilio Contact Center Overview
Twilio Contact Center OverviewTwilio Contact Center Overview
Twilio Contact Center Overview
 
Twilio MMS Deep Dive
Twilio MMS Deep DiveTwilio MMS Deep Dive
Twilio MMS Deep Dive
 
Twilio Signal 2016 Real-time Communications Overview
Twilio Signal 2016 Real-time Communications OverviewTwilio Signal 2016 Real-time Communications Overview
Twilio Signal 2016 Real-time Communications Overview
 
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More FeaturesSmarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
Smarter SIP Trunks: 6 Ways You Can Save Time and Get More Features
 
Twilio API: Build SMS Text Message Into Web Apps
Twilio API: Build SMS Text Message Into Web AppsTwilio API: Build SMS Text Message Into Web Apps
Twilio API: Build SMS Text Message Into Web Apps
 

Similaire à Supermondays twilio

Real time voice call integration - Confoo 2012
Real time voice call integration - Confoo 2012Real time voice call integration - Confoo 2012
Real time voice call integration - Confoo 2012
Michael Peacock
 
Irv Shapario's Boaz Zilberman's presentation at eComm 2008
Irv Shapario's Boaz Zilberman's presentation at eComm 2008Irv Shapario's Boaz Zilberman's presentation at eComm 2008
Irv Shapario's Boaz Zilberman's presentation at eComm 2008
eComm2008
 
Tringme Overview
Tringme OverviewTringme Overview
Tringme Overview
gueste32f19
 

Similaire à Supermondays twilio (20)

Voice Enabling your Applications with Twilio
Voice Enabling your Applications with TwilioVoice Enabling your Applications with Twilio
Voice Enabling your Applications with Twilio
 
Twilio at the Google App Engine Meetup 2009-10
Twilio at the Google App Engine Meetup 2009-10Twilio at the Google App Engine Meetup 2009-10
Twilio at the Google App Engine Meetup 2009-10
 
Getting Started with Twilio
Getting Started with TwilioGetting Started with Twilio
Getting Started with Twilio
 
Programmable communications with twilio
Programmable communications with twilioProgrammable communications with twilio
Programmable communications with twilio
 
Tropo Presentation at the Telecom API Workshop
Tropo Presentation at the Telecom API WorkshopTropo Presentation at the Telecom API Workshop
Tropo Presentation at the Telecom API Workshop
 
The Nexmo Voice API - AAT 2016
The Nexmo Voice API - AAT 2016The Nexmo Voice API - AAT 2016
The Nexmo Voice API - AAT 2016
 
Real time voice call integration - Confoo 2012
Real time voice call integration - Confoo 2012Real time voice call integration - Confoo 2012
Real time voice call integration - Confoo 2012
 
5 Common Hosted VoIP Myths Debunked
5 Common Hosted VoIP Myths Debunked5 Common Hosted VoIP Myths Debunked
5 Common Hosted VoIP Myths Debunked
 
Get More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-OnsGet More From Your Messages with Twilio + Watson Add-Ons
Get More From Your Messages with Twilio + Watson Add-Ons
 
Twilio Product Overview
Twilio Product OverviewTwilio Product Overview
Twilio Product Overview
 
Twilio - The Cloud Communications Platform
Twilio - The Cloud Communications PlatformTwilio - The Cloud Communications Platform
Twilio - The Cloud Communications Platform
 
TwilioCon 2013 - Communications Without Boundaries
TwilioCon 2013 - Communications Without BoundariesTwilioCon 2013 - Communications Without Boundaries
TwilioCon 2013 - Communications Without Boundaries
 
What Can You Do With Twilio
What Can You Do With TwilioWhat Can You Do With Twilio
What Can You Do With Twilio
 
Irv Shapario's Boaz Zilberman's presentation at eComm 2008
Irv Shapario's Boaz Zilberman's presentation at eComm 2008Irv Shapario's Boaz Zilberman's presentation at eComm 2008
Irv Shapario's Boaz Zilberman's presentation at eComm 2008
 
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
Watson DevCon 2016 - Do More with Less Code: Enriched Communications with Twi...
 
VoIP Solution | VoIP Service Provider | Softswitch
VoIP Solution | VoIP Service Provider | SoftswitchVoIP Solution | VoIP Service Provider | Softswitch
VoIP Solution | VoIP Service Provider | Softswitch
 
VoIP Drupal Framework DrupalCon Prague
VoIP Drupal Framework DrupalCon PragueVoIP Drupal Framework DrupalCon Prague
VoIP Drupal Framework DrupalCon Prague
 
10 Must Have Phone System Features that Business Needs
10 Must Have Phone System Features that Business Needs10 Must Have Phone System Features that Business Needs
10 Must Have Phone System Features that Business Needs
 
Important VoIP Terms Every Business Should Know | Acefone
Important VoIP Terms Every Business Should Know | AcefoneImportant VoIP Terms Every Business Should Know | Acefone
Important VoIP Terms Every Business Should Know | Acefone
 
Tringme Overview
Tringme OverviewTringme Overview
Tringme Overview
 

Plus de Michael Peacock

Refactoring to symfony components
Refactoring to symfony componentsRefactoring to symfony components
Refactoring to symfony components
Michael Peacock
 
Dance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech TalkDance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech Talk
Michael Peacock
 
Powerful and flexible templates with Twig
Powerful and flexible templates with Twig Powerful and flexible templates with Twig
Powerful and flexible templates with Twig
Michael Peacock
 
Introduction to OOP with PHP
Introduction to OOP with PHPIntroduction to OOP with PHP
Introduction to OOP with PHP
Michael Peacock
 
Phpne august-2012-symfony-components-friends
Phpne august-2012-symfony-components-friendsPhpne august-2012-symfony-components-friends
Phpne august-2012-symfony-components-friends
Michael Peacock
 
Evolution of a big data project
Evolution of a big data projectEvolution of a big data project
Evolution of a big data project
Michael Peacock
 
Dealing with Continuous Data Processing, ConFoo 2012
Dealing with Continuous Data Processing, ConFoo 2012Dealing with Continuous Data Processing, ConFoo 2012
Dealing with Continuous Data Processing, ConFoo 2012
Michael Peacock
 
Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012
Michael Peacock
 
PHP Continuous Data Processing
PHP Continuous Data ProcessingPHP Continuous Data Processing
PHP Continuous Data Processing
Michael Peacock
 
PHP North East Registry Pattern
PHP North East Registry PatternPHP North East Registry Pattern
PHP North East Registry Pattern
Michael Peacock
 
PHP North East - Registry Design Pattern
PHP North East - Registry Design PatternPHP North East - Registry Design Pattern
PHP North East - Registry Design Pattern
Michael Peacock
 

Plus de Michael Peacock (20)

Immutable Infrastructure with Packer Ansible and Terraform
Immutable Infrastructure with Packer Ansible and TerraformImmutable Infrastructure with Packer Ansible and Terraform
Immutable Infrastructure with Packer Ansible and Terraform
 
Test driven APIs with Laravel
Test driven APIs with LaravelTest driven APIs with Laravel
Test driven APIs with Laravel
 
Symfony Workflow Component - Introductory Lightning Talk
Symfony Workflow Component - Introductory Lightning TalkSymfony Workflow Component - Introductory Lightning Talk
Symfony Workflow Component - Introductory Lightning Talk
 
Alexa, lets make a skill
Alexa, lets make a skillAlexa, lets make a skill
Alexa, lets make a skill
 
API Development with Laravel
API Development with LaravelAPI Development with Laravel
API Development with Laravel
 
An introduction to Laravel Passport
An introduction to Laravel PassportAn introduction to Laravel Passport
An introduction to Laravel Passport
 
Phinx talk
Phinx talkPhinx talk
Phinx talk
 
Refactoring to symfony components
Refactoring to symfony componentsRefactoring to symfony components
Refactoring to symfony components
 
Dance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech TalkDance for the puppet master: G6 Tech Talk
Dance for the puppet master: G6 Tech Talk
 
Powerful and flexible templates with Twig
Powerful and flexible templates with Twig Powerful and flexible templates with Twig
Powerful and flexible templates with Twig
 
Introduction to OOP with PHP
Introduction to OOP with PHPIntroduction to OOP with PHP
Introduction to OOP with PHP
 
Vagrant
VagrantVagrant
Vagrant
 
Phpne august-2012-symfony-components-friends
Phpne august-2012-symfony-components-friendsPhpne august-2012-symfony-components-friends
Phpne august-2012-symfony-components-friends
 
Evolution of a big data project
Evolution of a big data projectEvolution of a big data project
Evolution of a big data project
 
Dealing with Continuous Data Processing, ConFoo 2012
Dealing with Continuous Data Processing, ConFoo 2012Dealing with Continuous Data Processing, ConFoo 2012
Dealing with Continuous Data Processing, ConFoo 2012
 
Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012
 
PHP Continuous Data Processing
PHP Continuous Data ProcessingPHP Continuous Data Processing
PHP Continuous Data Processing
 
PHP North East Registry Pattern
PHP North East Registry PatternPHP North East Registry Pattern
PHP North East Registry Pattern
 
PHP North East - Registry Design Pattern
PHP North East - Registry Design PatternPHP North East - Registry Design Pattern
PHP North East - Registry Design Pattern
 
Supermondays: Jenkins CI lightning talk
Supermondays: Jenkins CI lightning talkSupermondays: Jenkins CI lightning talk
Supermondays: Jenkins CI lightning talk
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Supermondays twilio

  • 1. Twilio Infrastructure APIs for building voice and text messaging apps Michael Peacock Twilio Lightning Talk
  • 2. Collection of “Infrastructure APIs” supporting: • Make and receive phone calls • Send and receive text messages • Buy phone numbers • Record caller messages • Conference calls • IVR: Interactive Voice Response • DTMF: Gathering number presses • Text to speech Via the web Twilio Lightning Talk
  • 3. How does it work? • Create an account • Buy a phone number ($1/month) • Write the code, hosted on your server • Link the application to the phone number • When someone calls the number, twilio hooks into your application which tells it what to do Twilio Lightning Talk
  • 4. Writing an application Its all XML <?xml version="1.0" encoding="UTF-8"?> <Response> <Gather numDigits="4" action=“verify.php"> <Say> This is the ACME telephone verification service. To verify your telephone number, please enter the four digit code shown on your screen now. </Say> </Gather> </Response> Twilio Lightning Talk
  • 5. Writing an application • <Say> something • <Play> a file • <Gather> digits the caller presses • <Dial> a number to transfer/conference the caller • Send an <Sms> • <Record> what the caller is saying Twilio Lightning Talk
  • 6. Writing an application Many of the libraries support generating “TwiML” programatically. E.g. Twilio Lightning Talk
  • 7. Application flow At each stage during the call, you define a URL for twilio to redirect to. This allows you to verify details, or act upon a specific request. Twilio Lightning Talk
  • 8. Make a call You don’t have to wait for someone to phone you. There is a REST API which allows you to: – Initiate a call from your application – Send an SMS – Buy a phone number Twilio Lightning Talk
  • 9. Use cases • Verify a customers phone number – https://github.com/mkpeacock/Phone-Number- Verification • Telephone access to your application – Let customers check the status of their orders • Lead generation – Use a number per lead source and track your marketing efforts – A / B testing on your website (auto-provision a number) • Request a call back form Twilio Lightning Talk
  • 10. Costs (its really cheap!) • Phone numbers: $1/month – Inbound calls: 1c/minute – Outbound calls: 2c/minute (landlines) – Outbound calls: 14c/minute (mobiles) • Freephone numbers: $2/month – Inbound calls: 6c/minute Twilio Lightning Talk
  • 11. Don’t want to host the code? For pre-defined basic applications (twimlets) which don’t require continuous back and forth between the user and the server, Twilio can host your code. Twilio Lightning Talk
  • 12. Twimlets • Call forwarding • Ring upto 5 numbers until one of them answers • Voicemail • Simple menu • Simple message: plays predefined text and audio • Conference calls Twilio Lightning Talk
  • 13. Connect Twilio connect lets you build and sell twilio powered applications which then connect to another users twilio account. This lets you sell the application, but lets the buyer pay for their own usage directly. Twilio Lightning Talk
  • 14. Please turn on your phone Want to see a live demo? Call 0191 580 1814 and rate this evenings talks. Twilio Lightning Talk