Saved Bookmarks
| 1. |
Solve : Batch to Trigger Modem to Dial Cell Phone? |
|
Answer» WORKING on a batch that runs in a loop to test systems, then trigger a modem event to call my cell phone, then hang up after 10 seconds.... Any suggestions on how to get my 56k PCI US Robotics Modem to dial thru a batch or a free or inexpensive program that can be added to my batch to launch and prank me when there is a failure to be notified about. My plan is to share a fax line with a system monitoring other servers and systems, and when a fault is detected, dial my cell phone. For the fact that I know that no one would ever call me from the fax number, and my cell phone has caller id... it would work perfect to alert me to remote in asap to see whats gone wrong from anywhere that has a cell signal. I was thinking of using a really old copy of Kermit, but it doesnt have the ability to dial and hang up after 10 seconds. Thanks... DaveFound a solution...Figured I would share it in case anyone else wants to do something like this. Here is what I have done. 1.) Took a Pentium II system running Windows 2000 Pro and it has a 56k modem installed. 2.) Created a Dial-Up configuration for what would normally be used for dialing into an ISP, but instead replaced the ISP DUN number with my cell phone number. 3.) Used a Macro RECORDER called JitBit Macro Recorder ( http://www.jitbit.com/macrorecorder.aspx ) that I purchased to record the process of what normally would be to dial up to an ISP DUN service, but its calling out to my cell phone. I then wait about 10 seconds and tell the computer that I want to cancel the call to my cell phone. I then compiled this macro into an EXE, which can be executed anytime on this system ( from within a batch ). 4.) Added a line branching off a goto statement in my batch to execute CallMe.EXE ( JitBit Macro ) 5.) Saved Batch and started batch that runs in a loop. This Pentium II system is then able to monitor servers and if a failure CONDITION is met, it triggers execution of the CallMe.exe custom ( mouse/Keyboard event macro ) and I get the phone call... No more getting calls from end users hours after a failure. Now I get it within minutes, and can respond quickly to resolve the problems before the users start to see the problems. Thanks for looking this post over and CONSIDERING ideas.... Dave |
|