• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

detect busy telephone line

I wrote a simple program that calls a telephone number with MSComm control.
How can I learn if the number is busy.
0
daloukas
Asked:
daloukas
  • 2
1 Solution
 
wmingeeCommented:
you'll recieve input from the modem of "BUSY".
0
 
daloukasAuthor Commented:
Thanks, but how can I receive the "BUSY"  from modem. By an AT command ? By a property in MsComm?
0
 
wmingeeCommented:
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
 
Pavel040997Commented:
You will get the "BUSY" input from the modem1
You can receive it like this:

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


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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now