Solved

detect busy telephone line

Posted on 1997-03-25
4
296 Views
Last Modified: 2008-03-10
I wrote a simple program that calls a telephone number with MSComm control.
How can I learn if the number is busy.
0
Comment
Question by:daloukas
  • 2
4 Comments
 

Accepted Solution

by:
wmingee earned 25 total points
ID: 1424728
you'll recieve input from the modem of "BUSY".
0
 

Author Comment

by:daloukas
ID: 1424729
Thanks, but how can I receive the "BUSY"  from modem. By an AT command ? By a property in MsComm?
0
 

Expert Comment

by:wmingee
ID: 1424730
It will come in thru the OnComm event. After you send the dial string you will get one of sveral possible responses such as connect, no dailtone, busy, etc
0
 
LVL 1

Expert Comment

by:Pavel040997
ID: 1424731
You will get the "BUSY" input from the modem1
You can receive it like this:

if mscomm.input="BUSY" then ....


0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 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

19 Experts available now in Live!

Get 1:1 Help Now