There are 2 types of calls:
Each call is represented by a Call object. Objects of this kind can't be instantiated by a developer directly. They are created automatically for incoming calls when a call arrives at VoxImplant. For an outgoing call, a corresponding object is created when VoxEngine.callPSTN, VoxEngine.callUser, or VoxEngine.callSIP is called.
The following basic call operations are available:
A single session can handle multiple calls simultaneously, so VoxImplant will not be able to decide itself how to send media data between the calls. There are a couple functions that tell the Cloud how to route audio and video:
Please note that each call can send media to multiple calls, but it can only receive media from one. So if you start playing a media file to a call, after the playback finished, that call will not receive audio even if the call was connected to another call before the playback started. Thus, you will need to use Call.sendMediaTo after the playback has finished (using the CallEvents.PlaybackFinished event).