LINEMEDIAMODE settings under TAPI

I have developed a Computer Aided Telephone Interview system using C++ MFC.The dialing system is implemented using TAPI. The problem I have is that only two of the LINCALLPARAMS - LINEMEDIAMODE settings in TAPI appear to work on my system. These are DATAMODEM and INTERACTIVEVOICE. Both funtion but each has an implementation problem.

Using INTERACTIVEVOICE a connection dialog is generated under windows 2000. This allows me to proceed with connecting to the headset but adds an unwelcome and unnecessary step in the process.

Using DATAMODEM the connection happens seamlessly but because the data connection expects to communicate with another modem, the modem plays a loud connection tone and unless the transfer to the telephone headset and the disconnection of the modem are syncronised well, the modem plays this tone into the headset. This is potentially harmful for the operator.

My question : Is there a way to either suppress the automatic dialog that Windows 2000 generates when I use INTERACTIVEVOICE or alternately suppress the modem connection tone when using DATAMODEM.

Thank You
sbssaustAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DanRollinsCommented:
>> suppress the automatic dialog...
Show the function calls you are using to perform the dialing.   There is usually a way to skip all interactive dialogs by providing the phone number -- and other line options -- in advance.

>> or alternately suppress the modem connection tone when using DATAMODEM.

First, see if you can supress the tone manually, using the control panel:

1) Open Control Panel and
2) Click the "Phone and Modem" icon
3) Find you modem and click it and then click Properties.
4) In the General tab, set the speaker volume to "Off"
5) OK and close everything.

If that prevents the "modem mating call" tone in the headset, then I think I can find the way to do this programmatically.

-- Dan

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sbssaustAuthor Commented:
Dan

Thank you for your reply. Turning the volume to 0 on the modem forced the modem to dial silently but as soon as I select the headset from the telephone, the ring tone and the modem communication tone come through the headset loud and clear (and in fact through the handset if I choose to listen in that way). So unfortunately the approach does not appear to work. I will distill the code down to a minimal set of instructions that reproduct the problem and post it here in a day or so.

Thank you for your time.
Geoff
JensUniwebCommented:
I would say that maybe the hardware you have is not made for the type of solution you're looking to build. If I remember correctly I used interactivevoice when I made TAPI programs way back. And the user never had to do anything.

In what stage to you get the popups???

What kind of hardware do you use? Do you have the latest drivers for that hardware? Have you looked att the settings for that hardware?

There is a test/developer tool for tapi. The old versions are called TAPI13.exe or TAPI14.exe. But they are for version 1.3 and 1.4 of TAPI. Now ther should be a TAPI##.exe corrsponding to your version of TAPI.
migoEXCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split between DanRollins and JensUniweb.

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

migoEX
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.