JavaScript
Run your application
Make call
Open client_alice.html into a browser tab. This is the make call page.
Receive call
Start a new browser instance (or an incognito tab (if using Google Chrome) and open client_bob.html into this new tab or instance. This is the receive call page.
Placing call
In the make call page, click the Call button to make the call.
In the receive call tab:
- Note the status has changed to reflect the incoming call.
- Click Answer to answer the call.
You can now test the two-way voice call, although you may experience some audio feedback.
NOTE: You may be prompted to allow your web browser access to your microphone and speaker. It is necessary to allow this for testing purposes.
Making an app to app voice call
Make a voice call from one web app User to another web app User using the JavaScript Client SDK.
Steps
1
Introduction to this task2
Prerequisites3
Create a webhook server4
Create a Vonage Application5
Create the users6
Generate JWTs7
Install Client SDK8
Create the code to make an in-app voice call9
Create the code to receive an in-app voice call10
Run your application11
What's next?