Rate this page:

forwardCallToUserDirect

Copy URL
forwardCallToUserDirect(onEstablishedCallback: 

Function

):

void

Helper function to forward an inbound call to a user of the current application in the P2P mode. Dialed number is considered as username. Due to the P2P mode, audio playback 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 (inbound and outbound) are passed to this function

Returns

  • type:

    void