Date: Sun, 29 Oct 2000 12:23:39 +0000
From: Howard Schwartz <[EMAIL PROTECTED]>
> On the subject of modem commands, I re-noticed a cute freeware utility
> called ffd.exe, which is part of an archive called fdial201.zip. It
> contains a program for win 3.1 and for dos with a little data-base,
> address list type thing that lets you dial voice calls with the modem
> by point and click or by nickname on the command line, e.g.,
> fdd name <RETURN>
> dials whatever phone number you list as linked to ``name''.
<SNIP>
> I got to wondering:
> What is a nice way to do retry with voice calls in a batch file?
> With some many always busy business lines this would be handy. Something
> like this:
> :retry
> echo atz > com2
> echo atdt123456 > com2
> wait 4
> echo atH > com2
> goto retry
> Only thing the above needs is a way to check in the batch file if
> the call is busy. Some com utility that returns error codes for
> modem messages?
According to a ZyXEL U-1496 modem manual "Result Codes Options Table",
with the "AT" X3 to X7 commands with:
ATV0 or ATV1 returns
1 CONNECT
7 BUSY
(among other options)
> Since fdd name sends to the modem, you could use
> the utility I mentioned for the echo commands above. I expect fdd itself
> receives modem status messages, and it does let you define your own
> modem send strings -- so I can probably make a batch file that creates
> a redial option using fdd.exe and its ``wait x seconds if busy and hangup''
> option.
> I assume you can run the batch file with the phone at your ear, and
> hit any key to disconnect the modem when you get a real person.
Or use the result code 1 to hang up the modem, leaving the telephone
connected.
> Fdd itself appears to send an atH0 sequence when it gets a connect
> signal.
> Howard Schwartz
Boyd Ramsay
[EMAIL PROTECTED]
To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html