Building Real-time Communication Applications Using Twilio

Use Twilio to develop innovative Pusher-based apps with telephony integration
4.5 (2 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
109 students enrolled
82% off
Take This Course
  • Lectures 19
  • Length 1.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2015 English

Course Description

This video course will get you up and running with exciting web services quickly, allowing you to build real-time applications. You will learn to use tools that interact with users beyond the browser for a range of important use cases.

We will start by looking at the tools and services that Pusher and Twilio offer getting to grips with their web interfaces, debug console, and provisioning tools. Mid-way through the tutorial, we’ll look at building useful real-time and communication-based applications and learn how to build applications that can leverage the power of both Twilio and Pusher combined. Then, we will move on to building telephone verification systems with the help of 2-factor authentication tools. Before we reach the end of this course, we will develop innovative IVR systems to guide users through a telephone menu system, and update other users with their progress in real time. Finally, we will create telephone conferencing tools, voicemail services, and automated call-back request systems.

With this course, you will be able to verify your users, deal with their requests, and update them to progress and activities in real time, and much more.

About the Author

Michael Peacock is an experienced software developer and team lead, from Newcastle, UK, with a degree in Software Engineering from the University of Durham. After spending a number of years running his own web agency, and subsequently working directly for a number of software start-ups, Michael now runs his own software development company, helping a range of companies with application development, software processes, and technical direction. He is the author of Creating Development Environments with Vagrant, PHP 5 Social Networking, PHP 5 E-Commerce Development, Drupal 7 Social Networking, Selling Online with Drupal e-Commerce, and Building Websites with TYPO3. Other publications Michael has been involved in include Advanced API Security, Mobile Web Development, Jenkins Continuous Integration Cookbook, and Drupal for Education and E-Learning, for which he acted as a technical reviewer.

What are the requirements?

  • This video tutorial gives you a fast-paced look at the Pusher and Twilio APIs and SDKs, showing you how to utilize the power of both and build real-time applications.

What am I going to get from this course?

  • Update your users in real time when actions are performed or information is made available
  • Provision and program telephone numbers for a range of uses, including inbound calls and phone number masking for online marketplaces
  • Verify your users’ phone numbers and perform 2-factor authentication by sending them a verification call or SMS message
  • Build innovative IVR systems to route users to the correct part of your phone system
  • Give your users instant real-time feedback on screen to show how they are progressing through their offscreen processes
  • Initiate phone calls to connect your support team with your end user
  • Use composer to effectively manage the Pusher and Twilio SDKs in one go
  • Set up conference rooms, with support for PIN code access and moderators who can start and end the conference

Who is the target audience?

  • If you are a PHP, Python, or VOIP developer who wants to learn how to build real-time communication apps from scratch or add such features to your existing apps, this is the course for you. You’ll be able to engage with your users using telephony services as an added bonus.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Setting Up Twilio and Pusher

This gets you up and running with a Twilio account and provides you information on how to connect inbound phone numbers to your applications.


This gets you up and running with a Pusher account and tests the flow of messages through Pusher and to a client, in real time.

Section 2: Numbers and Messages

This gets your Twilio code set up within your application; the code is ready to communicate with the API.


This gives us a number that we can use to make and receive calls and text messages.


This allows us to start and carry out conversations with our users.

Section 3: Calls

This introduces the TwiML service class to generate TwiML and lets us pass it to generate outgoing calls.


This gives us a conference room for group conversations and shows us how we can have a call moderator.


This lets us record a message from our user as well as have a copy of the audio file automatically transcribing the contents into text.


This allows us to change the flow of an ongoing call based on a user's response to specific prompts, capturing information with the Gather TwiMLverb.

Section 4: Real-time Communication

This lets us send data to pusher to be distributed to connected clients in real time.


This allows us to receive real-time notifications from Pusher and act upon them.


Sending data to pusher synchronously in our application isn’t ideal; connectivity or issues with their service could result in delays for our users and application.

Section 5: Real-time Call Requests

Pushing an event indicates that a user wants to be called back.


List data that has been pushed in real time.


Fulfill a callback request, connecting the user to an operative site and updating the user on the status of the request in real time.

Section 6: Phone Number Verification

Verifying a user's phone number, or facilitating two-factor authentication on actions.


Make the verification experience more engaging.

Section 7: IVR Triggered Activity Streams

Log real-time updates for a telephony application.


Stream real-time updates for a telephony application.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course