Click or drag to resize
TapiCallStartRecording Method
Starts recording of call audio.

Namespace: Traysoft.AddTapi
Assembly: Traysoft.AddTapi (in Traysoft.AddTapi.dll) Version: 6.0.0.1110
Syntax
public void StartRecording(
	string file
)

Parameters

file
Type: SystemString
Filename (including path) of the file to be recorded.
Remarks

This method starts recording of the call audio stream to the specified wave file. StartRecording method instructs AddTapi.NET to start recording and returns immediately. The application can use other methods such as WaitForDigit(Int32) while recording is in progress. Use StopRecording to stop recording and close the wave file. Wave file specified in the file parameter is not accessible until recording is stopped.

Please note that some telephony hardware including most voice modems does not support simultaneous playback and recording. Use StopPlayback to stop playback before calling StartRecording with such hardware.

See Also