forwardCallToUser
forwardCallToUser(onEstablishedCallback: Function
, video: false
| true
): void
Helper function to forward an inbound call to a user of the current application. Dialed number is considered as username. For more details see the GitHub repo.
Parameters
onEstablishedCallback:
Function
OptionalOptional function that is invoked after call is established. Both calls (inbound and outbound) are passed to this function
video:
false
OptionalSpecifies if the call should have video support. Please note that the price for audio-only and video calls is different!
Returns
type:
void