Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Detecting Dial tone using Tapi 3.0

Posted on 2004-10-18
1
Medium Priority
?
744 Views
Last Modified: 2007-12-19
Hi
      How can we detect whether a telephone line is having Dial tone?  I am using VB6 and Tapi 3.0  
   
i use the following code to make a call

'------------------------------------------------------------------------------------------

        Set objCallControl = objAddress.CreateCall(sTeleNo, LINEADDRESSTYPE_PHONENUMBER, TAPIMEDIATYPE_AUDIO)
        Call objCallControl.Connect(False)

      '            sTeleNo carries the Telephone  no to be dialed
      '      objAddress is  ITAddress object
      '      objCallControl is ITBasicCallControl object
'-------------------------------------------------------------------------------------------------------
using this i am able to make calls but i need to make sure line is having dial tone before making a call.
Any idea ?
Thanks in Advance
Riyasjef
0
Comment
Question by:riyasjef
1 Comment
 
LVL 8

Accepted Solution

by:
tonsofpcs earned 1500 total points
ID: 12352956
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question