The ITPlay is implemented on the MSP Call object for recording and playing Wave files.
Name |
Description |
StartPlay(BSTR FileName) |
FileName must be a complete path to the Wave file to play. |
StopPlay() |
— |
StartRecord(BSTR FileName) |
FileName must be a complete path to the Wave file to record to. |
StopRecord() |
— |
Playing and recording can be stopped and started at any time on the call. Recording is used only as single file per call though, and appended to the file if recording is stopped and restarted. you must not record and play at the same time. If this is a requirement, recording and playing can be done by selecting terminals onto the call that supply audio data from a file, or record audio data to a file. TAPI 3.1 introduces file-streaming terminals to make this easier.