JavaScript
If you are planning to use JavaScript to develop your application, you'll need to install (or update) the latest version of the Client SDK.
Create a new folder in your project directory and change into it.
mkdir app-to-phone cd app-to-phone
Then run the following command:
npm init npm install @vonage/client-sdk -s
This will install the Client SDK into the node_modules directory within your project folder.
If you already have the Client SDK installed the above command will upgrade your Client SDK to the latest version.
Making an in-app voice call
Make a voice call from a web app to a phone using the JavaScript Client SDK.
Steps
1
Introduction2
Prerequisites3
Create a webhook server4
Create a Vonage Application5
Link a Vonage number6
Create a User7
Generate a JWT8
Install Client SDK9
Create a client side application10
Run your application11
What's next?