Hi,
For months I have tried to dial a number and play a wav file using this
connection. I have tried Julmar's ITAPI and also Tapi3lib.
I can call the number but I can not create a terminal. Using Julmar's api I
try;
TCall
myCall=MyAddress.CreateCall("0",LINEADDRESSTYPES.PhoneNumber,TAPIMEDIATYPES .AUDIO)
TTerminal t=myCall.RequestTerminal(TTerminal.FilePlaybackTerminal,
TAPIMEDIATYPES.AUDIO, TERMINAL_DIRECTION.TD_RENDER)
in this code TTerminal object always returns null.
Before that I tried using Tapi3Lib directly;
ITAddress oAddress;
ITMediaSupport ims = (ITMediaSupport)oAddress;
ITTerminalSupport its = (ITTerminalSupport)ims; //Error
When I try to crate ITTerminalSupport I get "unable to assign... Such an
interface isn't supported" error.
I'm using Agere Systems HDA modem. As I said I got no problem calling. Is
the problem about my modem's audio support? I also tried the codes on a few
laptops and I got same errors.
Thanks in advance
Halil