forwardCallToUserDirect
forwardCallToUserDirect(onEstablishedCallback: Function
): any
Helper function to forward incoming call to user of current application in P2P mode. Dialed number is interpreted as username. Due to P2P mode, audio playback and recording will not make any effect. 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
Returns
type:
any