Home

Basic Masked Calling

Basic Masked Calling

Basic Masked Calling

Voice

1.0.7

Vonage

NodeJS

Implement a voice proxy using virtual numbers to hide the phone numbers of the participants of an ongoing call.

Sometimes you want two users to be able to call each other without revealing their private phone numbers. In this project, you will create an application that allows you to use your Vonage number to mask a given phone number. When making an outbound call, each participant sees only the temporary number for the duration of the call. This project uses Vonage Cloud Runtime, removing the need to manage servers and hosting. Visit the developer portal to view documentation on how it works.

Steps

  1. To start, ensure you are signed into your Vonage developer account. If you do not have an account yet, you can create one here.

  2. To immediately deploy the application, go to the ‘Deploy Code’ tab. Enter a name for your application in ‘Instance Name’, select your AWS region, and click the ‘Deploy Code’ button.

    1. You will see a pop up prompting you to assign your Vonage number to the application - you will be able to buy one here if you do not have one already.
    2. Click ‘Assign a number’ to select your number from the list, then continue to create the application.
    3. You will then see your new application under ‘Deployed Instances’. Click ‘Launch’ to run it and input the number you want to mask. All calls to your Vonage number will be forwarded to that number, and you will be able to call your Vonage number to make a masked outbound call.
  3. To view the code and edit the application, go to ‘Get Code’ and click ‘Create a new development environment’.

    1. You will see a pop up prompting you to choose a region, enter a workspace name and assign your Vonage number to the application - you will be able to buy one here if you do not have one already.
    2. Click ‘Assign a number’ to select your number from the list, then continue to launch the workspace.
    3. When the workspace opens, you will see a README detailing how to edit, debug, run and deploy the project.
    4. Once your project is deployed, you can use the URL in the terminal output to access your application.

Created

15 March 2023

Updated

27 June 2024

Releases

8