Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone willing to write some code to "Test Multiple Phone Lines"

Status
Not open for further replies.

jscott44

Technical User
Feb 7, 2011
1
0
0
This would be for my job that has devices which are connected to dedicated phone lines and must communicate with a system ever 72 hours to continue to work properly.

If anyone is willing to help me out on this I would be willing to pay something.

now this could be a not so complex app, just as long as it works.
here are some steps I've seen which is without a db for the numbers. please consider this, Thank you

1. Employ the SerialPort control (System.IO.Ports.SerialPort).
2. Open each possible serial port and send an AT command to each port and wait for a response from the command -- this detects the port on which the modem is connected. Use this port for dialing.
3. Open the database, and read in a telephone number.
4. Use that number to dial and wait for connect. Connection will be either a change in state of DCD from false to true, or the "Connectxxx" output message from the modem.
5. Record the rusult to the database
6. Repeat steps 4 and 5 until all numbers have been dialed.
Then either email or print out no connects

Thank You
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top