We help IT Professionals succeed at work.

detect busy telephone line

daloukas
daloukas asked
on
Medium Priority
347 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.
Comment
Watch Question

Commented:
you'll recieve input from the modem of "BUSY".

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks, but how can I receive the "BUSY"  from modem. By an AT command ? By a property in MsComm?

Commented:
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
You will get the "BUSY" input from the modem1
You can receive it like this:

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


Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.