tapi???
-
hi.. Can anybody tell me how to go about this.. My application requires the key entered on a telephone (PSTN phone connected to usb port using an adapter).. to appear on the screen (edit box provided by me to hold the phone number).. The thing is, I dont know from where to start.. Is TAPI is what i require to study??? .. I need not worry about the networking part of it.. Just collect voice from telephone and save it and play it back.. (one module that is playing back of wave files is done.. i am doing the recording of voice using microphone at present..) ... Awaiting suggestions.. regards pallavi
-
hi.. Can anybody tell me how to go about this.. My application requires the key entered on a telephone (PSTN phone connected to usb port using an adapter).. to appear on the screen (edit box provided by me to hold the phone number).. The thing is, I dont know from where to start.. Is TAPI is what i require to study??? .. I need not worry about the networking part of it.. Just collect voice from telephone and save it and play it back.. (one module that is playing back of wave files is done.. i am doing the recording of voice using microphone at present..) ... Awaiting suggestions.. regards pallavi
mpallavi wrote: Is TAPI is what i require to study??? Basically: Yes. To control a phone (or a PBX) TAPI normaly is the way to go. But: You need a TAPI driver. You can only control phones and PBX's that have a TAPI driver. In your case, I think the adapter you use to connect the phone to the PC must have a TAPI driver. mpallavi wrote: Just collect voice from telephone and save it And here is your next problem. Most TAPI drivers support TAPI version 2.x. But TAPI 2.x does not support capturing the voice stream of the phone. Capturing voice streams from the phone is optionally supported by TAPI 3.x. But just optionally. So even if you have a TAPI 3.x driver for your phone/adapter it's unsure if it supports capturing voice streams. Claudio Claudio's Website
-
hi.. Can anybody tell me how to go about this.. My application requires the key entered on a telephone (PSTN phone connected to usb port using an adapter).. to appear on the screen (edit box provided by me to hold the phone number).. The thing is, I dont know from where to start.. Is TAPI is what i require to study??? .. I need not worry about the networking part of it.. Just collect voice from telephone and save it and play it back.. (one module that is playing back of wave files is done.. i am doing the recording of voice using microphone at present..) ... Awaiting suggestions.. regards pallavi
I have a similar setup. On my PC the phone becomes another sound device. I just use DirectX's DirectSound to record. The tricky bit is to record from a non-default device. Look at the DirectSound samples in the DirecrtX SDK for examples on how record, and how to set the recording and playing device you require. DirectX 9c SDK[^]. As for button presses the PSTN adaptor has a COM interface that send messages when a button is pressed. Also I use the Microsoft RTC API SDK[^] to make SIP telephone calls. A PSTN gateway is also required.
I feel like I'm diagonally parked in a parallel universe Jerry Davis http://www.astad.org
http://www.jvf.co.uk -
I have a similar setup. On my PC the phone becomes another sound device. I just use DirectX's DirectSound to record. The tricky bit is to record from a non-default device. Look at the DirectSound samples in the DirecrtX SDK for examples on how record, and how to set the recording and playing device you require. DirectX 9c SDK[^]. As for button presses the PSTN adaptor has a COM interface that send messages when a button is pressed. Also I use the Microsoft RTC API SDK[^] to make SIP telephone calls. A PSTN gateway is also required.
I feel like I'm diagonally parked in a parallel universe Jerry Davis http://www.astad.org
http://www.jvf.co.ukHello Jerry I have written a program that records voice spoken over microphone .. Will the same program work if mircophone is replaced by the PSTN telephone ? My job is to record the outgoing calls.. I need not take care of VOIP or networking part of it.. How to interact with the COM interface to make buttons pressed on the phone to appear on the screen.. Can you suggest some links or sample code for the same.. i will be very thankful.. regards pal
-
Hello Jerry I have written a program that records voice spoken over microphone .. Will the same program work if mircophone is replaced by the PSTN telephone ? My job is to record the outgoing calls.. I need not take care of VOIP or networking part of it.. How to interact with the COM interface to make buttons pressed on the phone to appear on the screen.. Can you suggest some links or sample code for the same.. i will be very thankful.. regards pal
It all really depends on how your PSTN adaptor works. My adaptor appears as a second sound card. I then just simply record from the micrphone on the PSTN adaptor. I use DirectX to record. Can you see an extra sound card on your system? I have another PSTN->IP adaptor that this method wouldn't work for.
I feel like I'm diagonally parked in a parallel universe Jerry Davis http://www.astad.org
http://www.jvf.co.uk -
It all really depends on how your PSTN adaptor works. My adaptor appears as a second sound card. I then just simply record from the micrphone on the PSTN adaptor. I use DirectX to record. Can you see an extra sound card on your system? I have another PSTN->IP adaptor that this method wouldn't work for.
I feel like I'm diagonally parked in a parallel universe Jerry Davis http://www.astad.org
http://www.jvf.co.ukNo .. there is no extra sound card.. the phone adapter is connected to usb port and uses the standard usb driver.. the client driver is getting programmed .. Please excuse me if something is wrong.. I am new to programming such application that needs to communicate with the device drivers.. also VC++ is new to me.. I am recording sound using MCI.. ... Require some guidance.. regards pal
-
No .. there is no extra sound card.. the phone adapter is connected to usb port and uses the standard usb driver.. the client driver is getting programmed .. Please excuse me if something is wrong.. I am new to programming such application that needs to communicate with the device drivers.. also VC++ is new to me.. I am recording sound using MCI.. ... Require some guidance.. regards pal
If you're programming the driver, then I cannot help you I'm afraid. Sorry
I feel like I'm diagonally parked in a parallel universe Jerry Davis http://www.astad.org
http://www.jvf.co.uk