forwardCallToUser
forwardCallToUser(onEstablishedCallback: Function
, video: false
| true
): void
Helper function to forward an incoming 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 (incoming and outgoing) are passed to this function
video:
false
OptionalWhether the call has video support. Please note that the price for audio-only and video calls is different!
Returns
type:
void