General Home Automation Simple Dialing Program

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Simple Dialing Program EdwardATeller 05-15-08
Posted by EdwardATeller on May 15, 2008, 1:26 pm
Please log in for more thread options
I have a Windows XP laptop with SP2 on it. It has a pretty standard
modem built into it. I'd like to write a batch program that picks up
the line, dials a series of numbers, #'s. and *'s, waits a while, and
then hangs up. Can someone help or point me in the right direction?
Thanks.

Posted by Bob Fish on May 15, 2008, 1:35 pm
Please log in for more thread options
EdwardATeller wrote:
> I have a Windows XP laptop with SP2 on it. It has a pretty standard
> modem built into it. I'd like to write a batch program that picks up
> the line, dials a series of numbers, #'s. and *'s, waits a while, and
> then hangs up. Can someone help or point me in the right direction?
> Thanks.

google "war dialer"


Posted by EdwardATeller on May 15, 2008, 2:12 pm
Please log in for more thread options
> EdwardATeller wrote:
> > I have a Windows XP laptop with SP2 on it. It has a pretty standard
> > modem built into it. I'd like to write a batch program that picks up
> > the line, dials a series of numbers, #'s. and *'s, waits a while, and
> > then hangs up. Can someone help or point me in the right direction?
> > Thanks.
>
> google "war dialer"

Thanks, but I'd prefer to write it myself. Found a list of Hayes-
compatible commands,
and now I'm stuck on exactly how to put them in a batch file so that
the modem knows I'm
speaking to it.

BTW, the application is to turn on and turn off Vonage's Do Not
Disturb feature.
It would be nice if Vonage let me a schedule on my user control panel,
but they don't, so I
am just going to have a spare laptop power up from standby mode, dial
the numbers, and
then go back to sleep.


Posted by Bob Fish on May 15, 2008, 3:03 pm
Please log in for more thread options
EdwardATeller wrote:
>> EdwardATeller wrote:
>>> I have a Windows XP laptop with SP2 on it. It has a pretty standard
>>> modem built into it. I'd like to write a batch program that picks up
>>> the line, dials a series of numbers, #'s. and *'s, waits a while, and
>>> then hangs up. Can someone help or point me in the right direction?
>>> Thanks.
>> google "war dialer"
>
> Thanks, but I'd prefer to write it myself. Found a list of Hayes-
> compatible commands,
> and now I'm stuck on exactly how to put them in a batch file so that
> the modem knows I'm
> speaking to it.
>
> BTW, the application is to turn on and turn off Vonage's Do Not
> Disturb feature.
> It would be nice if Vonage let me a schedule on my user control panel,
> but they don't, so I
> am just going to have a spare laptop power up from standby mode, dial
> the numbers, and
> then go back to sleep.
>

Ah, that's a lot easier.

Put what you want to send out the serial port (*** or ###) into a text
file like on.txt and off.txt

Then you can send the contents of the txt file to the serial port that
is handling the modem by simply using the copy command from a bat file

copy on.txt com1

replace com1 with the serial port number the modem is attached to (eg
com2 com3 com4)


Posted by EdwardATeller on May 15, 2008, 6:45 pm
Please log in for more thread options
> EdwardATeller wrote:
> >> EdwardATeller wrote:
> >>> I have a Windows XP laptop with SP2 on it. It has a pretty standard
> >>> modem built into it. I'd like to write a batch program that picks up
> >>> the line, dials a series of numbers, #'s. and *'s, waits a while, and
> >>> then hangs up. Can someone help or point me in the right direction?
> >>> Thanks.
> >> google "war dialer"
>
> > Thanks, but I'd prefer to write it myself. Found a list of Hayes-
> > compatible commands,
> > and now I'm stuck on exactly how to put them in a batch file so that
> > the modem knows I'm
> > speaking to it.
>
> > BTW, the application is to turn on and turn off Vonage's Do Not
> > Disturb feature.
> > It would be nice if Vonage let me a schedule on my user control panel,
> > but they don't, so I
> > am just going to have a spare laptop power up from standby mode, dial
> > the numbers, and
> > then go back to sleep.
>
> Ah, that's a lot easier.
>
> Put what you want to send out the serial port (*** or ###) into a text
> file like on.txt and off.txt
>
> Then you can send the contents of the txt file to the serial port that
> is handling the modem by simply using the copy command from a bat file
>
> copy on.txt com1
>
> replace com1 with the serial port number the modem is attached to (eg
> com2 com3 com4)

Thanks for the helpful replies. I'll try them when I have some time,
but I ended doing this:

I used Hyperterminal (HT) to do the dialing, creating one HT file for
*78,,,1 on and one for *79,,,1.
Then I setup an AutoHotKey script to invoke the HT file and press
Enter twice. Then I used Task
Manager to run "turn off DND" in the morning and "turn on DND" in the
evening. TM wakes the laptop
from standby to run. I use Slawdog's AutoShutDown to power the cycle
the computer
once a day to keep things fresh, plus send it into standby after a few
minutes of inactivity.

It's a low power laptop that I never use, but it's handy for things
like this, and I doubt this setup
uses much electricity at all.

Another day, another fun project up and running.

Similar ThreadsPosted
Simple Dialing Program May 15, 2008, 1:26 pm
auto phone dialing October 30, 2007, 2:38 pm
Dialing internal modem from windows with XXX.bat file March 15, 2005, 1:01 pm
Re: Which control program... July 24, 2007, 7:35 am
Free Program for HAL 2000 users April 23, 2005, 9:05 pm
Another device-independent HA program/environment June 9, 2005, 1:35 am
Organizing HA program rules/logic/code June 6, 2005, 5:46 am
Terminal Program for control system programmers January 3, 2007, 5:30 pm
need basic program to print string to printer port August 7, 2005, 2:30 am
Napco Gemini GEM-P816 Program User Codes with GEM-RP3DGTL April 14, 2005, 3:07 pm
FS: JP1 cable to program your universial remote control, now youcan control anything you want! July 14, 2005, 10:46 pm
Should be simple but never is, help pls August 19, 2005, 10:48 am
Simple IR extender....... January 20, 2006, 6:31 pm
Simple LAN Web Server October 30, 2007, 3:56 pm
some simple realtime sensors? April 27, 2006, 3:02 pm