O'Reilly logo

Twilio Cookbook Second Edition by Roger Stringer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Receiving incoming calls in the browser

Now that you know how to place and disconnect calls from the browser, it's time for your browser to start receiving incoming calls. By the end of this recipe, you will be able to make a call into your browser from your phone.

Getting Started

We're going to set up our Twilio Client app to accept incoming calls. This involves making changes to our Twilio app in our Twilio account.

To begin receiving incoming calls, we have to set up the Twilio Client app by performing the following steps:

  1. Give the browser session a client name. The browser will use this name when it registers itself with Twilio.
  2. Set up Twilio Client to notify your browser session about incoming connections.
  3. Write a TwiML code that directs incoming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required