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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line dialer

Status
Not open for further replies.

mmaxx

MIS
Oct 23, 2001
56
US
Hi!

Can you guys recommend any freeware / shareware command line dialer.

We are trying to setup our own Windows 2000 server network monitoring system and we need a simple command line dialer to connect to our modem in order to send pager alerts. Thanks!


 
What network monitoring application are you using, or are you developing your own?

I don't know of any command line dialers, and can't imagine why you would want to use one in Windows. You could probably write a batch file that would send commands to the COM port, but it wouldn't be very effective, as I'm not sure how to receive a response from the modem.

I believe that something along the lines of this would work:

print ATDT<phone number>; COM1:
pause 10
print ATDT<pager digits>; COM1:
pause 3
print ATH0 COM1:

but it has been a LONG time since I have done any serious batch programming.

You will be much better off using a voice capable modem for this purpose, though. You can use their on-board DSP to detect tones, silence and send tones.

Even better is a CTI board, like a Dialogic, Brooktrout or Natural Microsystems. They have excellent call progress tone detection, and they were designed to do what you are attempting to do with a modem.


pansophic
 
Hi,

Good advice pansophic, that will work. But the proper syntax would be:

echo atdt > COM1:

/mk
 
Like I said, it has been a long time....

Thanks for the correction. Also, I'm not certain that it will work, because you need to terminate the line with a carriage return (and maybe a line feed) to get the modem to actually do something. I don't remember if echo will append that to then end of the line or not.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top