Incoming Connections & Number of Rings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've set up a new connection to enable incoming calls via the New Connection Wizard. The problem is that the modem picks up all calls on the first ring. Can this be changed to pick up on the 4th ring, for example?
 
Absolutely.

Add the following additional command to the modem
initialization string in the modem properties -

ATS0=4

That's a zero in the init string, not an "o" ;-)

That will set the modem to autoanswer on the fourth
ring. To disable autoanswer, change the 4 to a zero.

Hope this helps -
-----Original Message-----
I've set up a new connection to enable incoming calls
via the New Connection Wizard. The problem is that the
modem picks up all calls on the first ring. Can this be
changed to pick up on the 4th ring, for example?
 
Great, thanks - I'll try that.

Now for the million dollar follow-up bonus question... Is there a way to change this programmatically - a WinAPI dll or even a .BAT file?
 
Sure ;-)

There are a couple of things you can do - one would be to
write the string to the modem's nonvolatile RAM. It's
easy to issue commands through either hyperterminal or
from a command prompt - if I'm just writing to modem
registers I prefer using a command prompt. The syntax is:

echo [modem command] > COMx

where x is the com port where the modem resides. Batch
files work just fine for stuff like this - and I'm not a
programmer so I really can't answer your question about
programming.

Let's assume your modem is on COM1 for a minute. To set
autoanswer to the fourth ring you'd issue this from a
command prompt -

echo ats0=4 > com1

but please note that while modem commands are not case-
sensitive they cannot be mixed-case. Either all upper-
or all lowercase, please.

The autoanswer we set above would remain in effect until
something like a terminal program or Windows Dial-Up
Networking issued a modem reset command. If you wanted
to write the command to the modem's NVRAM so it became
the default, you'd do it like this, hitting the enter key
after each line:

echo ats0=4 > com1

echo at&w > com1

The &w command instructs the modem to write its current
configuration to NVRAM and it becomes the default when an
the modem is powered up or issued a reset command (atz).

If you wanted to turn off autoanswer you'd do the

echo ats0=0 > com1

thing again, and if you wanted you could write that
string to modem memory.

So - issuing modem commands from a batch file is entirely
possible - as a matter of fact I use a technique similar
to that to keep unauthorized macnines from logging on to
our domain from a dialup connection - our login script
interrogates a dialup machine to insure it's supposed to
be on the network and if not, the login script issues
modem hangup commands to about eight COM ports just to
help us keep unaccredited machines off the network.

I know I've been a bit wordy but what you're asking is
completely doable.

Hope this helps -

-----Original Message-----
Great, thanks - I'll try that.

Now for the million dollar follow-up bonus question...
Is there a way to change this programmatically - a WinAPI
dll or even a .BAT file?
 
This certainly does help - a lot!
Thank you very much

PS. I had a roommate in college named Allan Grossman...did you go to Syracuse?
 
No, sorry - I went to school on the west coast and AFAIK
all my relatives are out there.

Glad I could be of service -
-----Original Message-----
This certainly does help - a lot!
Thank you very much.

PS. I had a roommate in college named Allan
Grossman...did you go to Syracuse?
 
Back
Top