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