[Webinar] Streamline your web hosting managementRegister Today

x
  • 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
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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