Error "Call Error 31402 - UserMedia Acquisition Failed Error" with Twilio VoIP integration

Error "Call Error 31402 - UserMedia Acquisition Failed Error" with Twilio VoIP integration

Info
In this article we will explain the reason behind the error 31402 when using the Twilio VoIP integration.


Problem Description

When trying to make a call in talos using the Twilio VoIP integration, you get the following error:
  1. Call Error 31402 UserMedia Acquisition Failed Error
  2. AcquisitionFailedError (31402): The browser and end-user allowed permissions, however getting the media failed. Usually this is due to bad constraints, but can sometimes fail due to browser, OS or hardware issues.


Solution

This error will appear either if your browser does not have permissions to use the audio devices (speakers and/or microphone) or because the browser can not detect the audio devices.
You can try to give the relevant permissions to evalink's site in your browser.
  1. Instructions for Google Chrome here: https://support.google.com/chrome/answer/2693767?hl=en&co=GENIE.Platform%3DDesktop
  2. Instructions for Mozilla Firefox here: https://support.mozilla.org/en-US/kb/how-manage-your-camera-and-microphone-permissions
  3. Instructions for Microsoft Edge here: https://support.microsoft.com/en-us/windows/windows-camera-microphone-and-privacy-a83257bc-e990-d54a-d212-b5e41beba857
Another solution is to connect an external headset on your computer and again allow the browser to make use of the microphone.