Receiving and handling calls in the cloud

The Voximplant platform can accept calls from different sources: phones, web pages, mobile devices. You can rent a number from us or connect your existing phone number via SIP. In this quickstart, we will rent a virtual phone number accessible as an extension. On the Voximplant control panel, select Number on the left menu and then select Buy new phone number in the upper right corner.

The phone number interface will be displayed. Select Test numbers, select one or more virtual numbers and click Buy selected.

After you’ve bought a number, you'll immediately see this number on the list.

To associate a phone number with the application created in the previous quickstart step so that if the rented phone number is called, your JavaScript code will be executed and a voice greeting will be played. To do so, go to Applicationsclick on a needed application (in our case, newapplication) and switch to the Numbers tab. Here, click on the Available tab, select a number and click Attach:

Now you can call a virtual phone number using one of the access numbers displayed on the page, followed by an extension. When the connection is established, you will hear a synthesized voice that reads a text – this is the Voximplant cloud that has just executed your JavaScript code and carried out your instructions.

Next: Making outbound calls from the cloud