• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

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
0
rjagan
Asked:
rjagan
1 Solution
 
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
 
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
 
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now