Solved

Detecting Dial tone using Tapi 3.0

Posted on 2004-10-18
1
709 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help in WHSCRIPT 9 48
Saving history changes to sub form 4 37
VBA Shell can't Find Word document 11 77
Zip Folders Using Chilkat Routines 1 17
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 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

24 Experts available now in Live!

Get 1:1 Help Now