SIGN UP

Making calls between users

If you need simple web-to-web calls between Voximplant users within a single application, you can use the Voximplant.forwardCallToUser function.

 

VoxEngine scenario:

VoxEngine.forwardCallToUser();

So, if a user logs into the application test.john.voximplant.com, and calls alice using, for example, the Web SDK.

 

WebSDK call example:

VoxImplant.getInstance().call("alice");

"alice" will receive the incoming call if they'ar logged into the same application.

If you want to be notified when the call has been successfully established, you can add one more parameter to forwardCallToUser.

 

VoxEngine scenario:

VoxEngine.forwardCallToUser((call1, call2) => {
     //Put your code here
});

This function will be called after connection has been successfully established and will accept both calls (incoming and outgoing) as parameters.

If you would like to handle failures as well, please read the article Advanced call processing.

Get your free developer account or talk with our sales team to learn more about Voximplant solutions
SIGN UP
Contact sales

Please complete this field.

Please complete this field.

Please complete this field.

Choose the solution

Please complete this field.

Please complete this field.