O'Reilly logo

WebRTC Cookbook by Andrii Sergiienko

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

Making calls from a web page

In this recipe, we will cover the process of making calls from web pages. For this task, you will need to run a VoIP service. It can be your own Asterisk or FreeSWITCH installation, or it can be some external, cloud, or SaaS VoIP solution.

To achieve our goal, we will use an HTML5 SIP library to make calls from a web page to a phone number and vice versa.

Getting ready

In this recipe, we will work under Linux, so prepare a Linux box. We will also use tools such as Git and SVN—install them if they're not installed yet on your machine.

You will need a web server installed. It might be Nginx, Apache HTTP Server, or any other web server you like the most. I assume that you have some experience of installing and configuring ...

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