>>>If I have a connection with a phone (I did an AT-answer command).
>>>How can I play wav.file ? The caller has to hear this sound.
>>
>>One quick & dirty method would be to connect the output of your soundcard to the microphone input of the modem. This method would also need you to play around with other AT commands, to regain control of the modem & ensure it doesn't drop the line when there's no modem on the other end.
>>
>>As a better method, if you have a voice capable modem, then using Windows Telephony API (TAPI) combined with the multimedia API maybe the way to go. This article may give some idea of how it works, but it is oriented towards C++.
>>
>>
http://www.microsoft.com/msj/defaulttop.asp?page=/msj/archive/s408.htm>
>Do you where I can find some examples on using TAPI ?
Section III on the following site may be of some use, it gives links to MS TAPI sites, the rest of the FAQs may be of use.
http://people.ne.mediaone.net/brucep/tapifaq/Section VII has a relevant link (in C though)
Len Speed