Rate this page:

forwardCallToUserDirect

Copy URL
forwardCallToUserDirect(onEstablishedCallback: 

Function

):

void

Helper function to forward an incoming call to a user of the current application in the P2P mode. Dialed number is considered as username. Due to the P2P mode, media player and recording do not work. For more details see the GitHub repo.

Parameters

  • onEstablishedCallback:

    Function

    Optional

    Optional function that is invoked after call is established. Both calls (incoming and outgoing) are passed to this function

Returns

  • type:

    void