Book Image

WebRTC Cookbook

By : Andrii Sergiienko
Book Image

WebRTC Cookbook

By: Andrii Sergiienko

Overview of this book

Table of Contents (15 chapters)
WebRTC Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 Linux software.

How to do it…

During this recipe we will install and configure a set of applications and build a service by integrating these applications with each other. We will not cover all the installation and configuration steps from scratch, but...