These procedures are used to initialize a Viva 14.4/Fax or Viva 9642e Modem (either 9600 or 14400) for dialin (the first procedure) and dialout (the second procedure).There are many similarities, but a few key differences.
Configuring a modem for dialin:
The following commands(less their comments) need to be sent to the modem. The easiest way to do this would be to set the port as an AUX port and use ADUMB to initialize the modem. Set handshaking to none for this exercise. Don't forget to use the AUX command with the correct AUX port the modem is connected to. COM1 is AUX0, COM2 is AUX1, and the first Addon Port is AUX2. You should see an OK after hitting return for each command as an indicator that the modem understood the command.
AT&F (Reset the modem to its factory defaults)
ATY1 (Long space disconnect enabled)
ATS0=1 (Answer on first ring)
AT&C1 (DCD tracks carrier)
AT&D3 (When DTR drops, drop carrier, reset modem)
AT&K3 (Use RTS/CTS handshaking) AT\T0 (Disable inactivity timer)
AT&S1 (Use DSR when ready for a call)
ATS10=10 (Used if call waiting is on phone line)
AT%E1 (Enable auto-retrain) (Useful if more than one extension is on this line, and the other modem can retrain)
AT&Y0 (Power up using stored profile 0)
ATQ2 (Result codes sent back in originate mode)
ATW0 (Disable progress reporting)
ATE0 (Turn off command echoing. At this time, you will no longer see the characters being echoed back)
AT&W0 (Store current settings in NVRAM profile 0)
Once you have configured the modem don't forget to enable RTS and CTS handshaking for that port, as that is what we set the modem up for.
Configuring a modem for dialout:
The following commands(less their comments) need to be sent to the modem. The easiest way to do this would be to set the port as an AUX port and use ADUMB to initialize the modem. Set handshaking to none for this exercise. Don't forget to use the AUX command to use the correct AUX port the modem is connected to. COM1 is AUX0, COM2 is AUX1, and the first Addon Port is AUX2. You should see an OK after hitting return for each command as an indicator that the modem understood the command.
AT&F (Reset the modem to its factory defaults)
ATY1 (Long space disconnect enabled)
ATS0=0 (Do not answer on any ring)
AT&C1 (DCD tracks carrier)
AT&D3 (When DTR drops, drop carrier, reset modem)
AT&K3 (Use RTS/CTS handshaking)
AT\T0 (Disable inactivity timer)
ATW1 (Enable progress reporting)
AT&S1 (Use DSR when ready for a call)
ATS10=10 (Used if call waiting is on phone line)
AT%E1 (Enable auto-retrain) (Useful if more than one extension is on this line, if both modems can retrain.)
AT&Y0 (Power on using stored profile 0)
ATQ2 (Result codes sent back in originate mode)
ATE0 (Turn off command echoing. At this time, you will no longer see the characters being echoed back)
AT&W0 (Store current settings in NVRAM profile 0)
Once you have configured the modem don't forget to enable RTS and CTS handshaking for that port, as that is what we set the modem up for