Using File Terminals

The file terminals can be used in two ways. The simplest method is to use ITBasicCallControl2::SelectTerminalOnCall to select a file terminal (playback or record) onto a TAPI call object. In this case TAPI takes care of connecting the audio streams to the track terminals.

The second method allows an application to have finer control over the mapping of audio streams to tracks. In this scenario, the application enumerates the streams available on the call, picks the ones it wants to record (or use for playback), creates (or finds for playback) the corresponding tracks on the file terminal, and selects the tracks on call streams.

For more information, see the following topics: