Events

Overview

Voxbone JS object’s events that can be listened to and used for event handling. Please refer to our repo documentation for more details

Event Description
progress Occurs when call initiated
failed Occurs when call failed due to connection, call rejected, or cancelled by caller
accepted Indicates that call is successfully established
ended Occurs when source or destination hangs up after call started.
getUserMediaFailed Indicates getUserMedia failed – browser not being able to access the mic.
localMediaVolume Indicates the volume of the speech at the calling party. Range of 0 to 1.
newDTMF Occurs when a new DTMF is sent.
authExpired It indicates that authentication token between the web application and Voxbone is about to expire. To avoid authentication errors, web application should call the API ‘basicAuthInit’ to regenerate a new authentication token.