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 phone-to-app cd phone-to-app
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.
Receiving a phone call in-app
You receive a call from a phone to your app
手順
1
Introduction to this task2
Prerequisites3
Create a webhook server4
Create a Vonage Application5
Buy a Vonage number6
Link a Vonage number7
Create a User8
Generate a JWT9
Install Client SDK10
Create a client side application11
Run your application12
What's next?