How to Record / Play voices over phone ?


Sir,
   I'am basically writing a sample application in TAPI to answer Inbound calls
 and also to record voices. As a first step i tried to play a wav file When the
 call arrives. I used tha LineGetID() with Wave/Out parameter and for recording
 Wave/in. I encountered the following problems

     1) I'am not able to get the DeviceID
     2) It either Says BAD deviceID / Device ID Outof range/ DeviceID is zero
     3) Since the Device is is Wrong I'am anot abel to Open Wavein /Waveout
         functions.
      4) Is there any other way to achieve the Recording/Playing task
     
   I also took precautions such as dwneededsize etc..

Please Help me out on how to record and play over Phone when the call
arrives
   Is there any standard site/ to ask questions regarding TAPI /TAPI FAQ


Regards,

   Jagan
rjaganAsked:
Who is Participating?
 
bruintjeCommented:
Hi
Think this will also be of help

http://www.wpi.edu/~murti/mqp/chapter8.html

It clearly explains the recording and playback of audio in MS-Windows. Think you should combine it with the TAPI input yoy already got.

:O)
0
 
bruintjeCommented:
Hi Jagan,

You can start here

http://www.delphi-jedi.org/

They got a package called J_Tapi.zip, that includes a breakdown of the whole TAPI including all the functioncalls and they're inparams and results.

Hope this helps
:O)
brUINTje.


0
 
rjaganAuthor Commented:
Thanks for your consideration
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
bruintjeCommented:
Hope you can use it.

If that's the case, then maybe you should look into the TAPI documentation on the MSDN site. They made this API and documented it in a good way.

Like to hear how things are going.

Good Luck.
:O)
0
 
rjaganAuthor Commented:
Much Thanks....
0
 
bruintjeCommented:
If you got a question left, because I don't know if you did get some new input on your problem, let me know.
:O)
0
 
rjaganAuthor Commented:
Sir,
   Basically I want to find out whether a given voice modem supports full duplex, and I want to play & record voice over
telephone simultaneously. I tried using  both wavein/waveout but its not working... Please Help me Out...

Regards

Jagan
0
 
ILPowerSoftCommented:
bruintje:
if you found a way to do it can you send me some code to ian@gezernet.co.il thanx
0
 
TheSwineCommented:
The site in the accepted answer is no longer availabe, does someone knows where it is now?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.