Solved

Detecting Dial tone using Tapi 3.0

Posted on 2004-10-18
1
700 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 500 total points
ID: 12352956
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now