ITCallInfo ici = (ITCallInfo)bcc; ITTerminalSupport myTerminalSupport; myTerminalSupport = (ITTerminalSupport)ln; ITTerminal myTerminalForPlayback = myTerminalSupport.CreateTerminal(TapiConstants.CLSID_String_FilePlaybackTerminal, TapiConstants.TAPIMEDIATYPE_AUDIO, TERMINAL_DIRECTION.TD_CAPTURE); ITMediaPlayback myMedia = (ITMediaPlayback)myTerminalForPlayback; object[] filelist = new object[2]; filelist[0] = "test.wav"; myMedia.PlayList = filelist; ITBasicCallControl2 myCallControl2 = (ITBasicCallControl2)bcc; myCallControl2.SelectTerminalOnCall(myTerminalForPlayback); ITMediaControl myMediaControl = (ITMediaControl)myTerminalForPlayback; myMediaControl.Start();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)