stupid UltraLite modem tricks

Brian Smithson (
Mon, 1 Jul 1991 20:35:18 -0700

I use the modem on my UltraLite extensively. I call using the
dgterm (thanks, Dale!) for terminal emulation and I use uupc for
file transfer and e-mail delivery. I always call the same system.
The problem is that the telephone number for that system is
different depending on where I am calling from. At home,
it's XXX-XXXX. At work, it's 9-XXX-XXXX. From hotels,
sometimes it's 9-1-800-YYY-YYYY,,,,,ZZZZZ,408-XXX-XXXX
and sometimes it's 8-1-800-YYY-YYYY,,,,,ZZZZZ,408-XXX-XXXX
(Motorola has it's own long distance telephone system!).

This is difficult, because uupc gets its phone numbers from
a Systems file (just like Honey-Danber UUCP), and many terminal
emulator programs get their phone numbers from dialing directories
(although dgterm is not one of them). I've never seen a dialing
directory implemented with the flexibility to handle different
forms of the same number for a given system.

The solution?

The UltraLite modem has the ability to store one phone number
in non-volatile memory. Use the command "AT&Z=[number]" to
store the number, and the command "ATDS" to dial it. I know,
the manual says "AT&Z01=[number]" and "ATDS=0" -- when I do that,
I get "01" prepended to the phone number!

Anyway, you can set up a set of phone numbers to choose from
in a variety of ways. I use Korn shell aliases which call
the "AT.COM" program to drive the COM port, but you could
similarly use a .BAT file, or a script in your favorite terminal
emulator script language, or whatever. I just type
"modem-normal" and it sets the modem to dial XXX-XXXX, or
modem-dial9" for 9-XXX-XXXX, etc. You get the idea.

One problem area might be getting your terminal emulator program
to do an ATDS instead of an ATDT[number]. It may take some
playing around or you may have to issue the ATDS command in some
way other than using a dialing directory.

By the way, uupc has no trouble with it. I simply replaced
the phone number with the character "s"!

Now here's a question for all of you: the manual refers to the
commands AT&W0 and AT&W1 which save the current register settings
to configuration profiles 1 and 2, respectively. Unfortunately,
it doesn't tell you how to invoke those profiles! I tried using
AT&E0 and AT&E1, which I've seen on other modems, but it didn't
seem to work.

-Brian Smithson
 Motorola Inc., Computer Group, Commercial Systems Division
 10700 N. De Anza Boulevard, Cupertino, CA 95014 USA, (408)366-4104, {apple | pyramid}!motcsd!brian