Topic: Modem initialization string cookbook The following are the guidelines you will want to follow when building a custom initialization string for a modem to be used with Worldgroup (server and Manager): Reset to Factory Defaults This will bring you to a starting point by loading the factory settings from the modem's ROM. Some modems have multiple factory configurations. This is normally controlled by the &F command. Example: AT&F Turn modem echoing off This will stop the modem from echoing keystrokes. The Worldgroup server handles this function. This is controlled by the E command (E0). Example: AT&FE0 Disable Auto-Answer Disable the auto-answer function of the modem. The Worldgroup server will send ATA to the modem once a RING is detected (with Level 1 Hardware Configuration (BBSMAJOR.MSG) option OUTATA set to YES (default)). This is controlled by the S0 register. Setting this register to 0 disables the modem's auto-answer function. Example: AT&FE0S0=0 Disable the Escape Code Character The only purpose this serves is disabling the ability for someone to place the modem into command-mode by typing the Escape Code Character (ASCII 43, "+"). This can be done from the console (emulating a channel) or in Terminal Mode in the Worldgroup Manager. This is not necessary in the operation of the modem, it is only placed there for precautionary measures. This is controlled by the S2 register. Setting the S2 register higher than 127 (but no higher than 255) will disable the Escape Code Character. Example: AT&FE0S0=0S2=255 Enable Result Codes Set the modem to return result codes. This is controlled by the Q command (Q0). Example: AT&FE0S0=0S2=255Q0 Enable Verbal Result Codes Set the modem to return verbal result codes as opposed to numeric (example: CONNECT 28800). The speed indicated after the CONNECT message is what Worldgroup uses to estimate file transfer time. This is commonly controlled by the V command (V1). Example: AT&FE0S0=0S2=255Q0V1 Display DCE to DCE (Data Communications Equipment) Result Codes Set result codes to return DCE to DCE (modem to modem) speeds as opposed to DTE to DCE (computer to modem, Level 1 Hardware Configuration Option BAUDx). This is commonly controlled by the W command (W2, although some modems do not support this command at all), and/or the S95 register (S95=0). When applicable, the S95 register takes priority over the W command (many modems support both). This plays an important part in estimating file transfer times. With the modem configured to report DTE to DCE rates, no matter what the user connects at the modem will always report the port speed (example: CONNECT 38400) and estimate the transfer times accordingly. By setting these commands in this fashion, additional and unnecessary responses will be disabled (ARQ and MNP reporting, etc). Examples: AT&FE0S0=0S2=255Q0V1W2 AT&FE0S0=0S2=255S95=0Q0V1 AT&FE0S0=0S2=255S95=0Q0V1W2 Enable all Result Codes Enable all result codes. This is commonly controlled by the X command (X4). Example: AT&FE0S0=0S2=255Q0V1W2X4 Set the DCD (Data Carrier Detect) Signal Set the DCD signal on when there is a data carrier, as opposed to being on all the time. This is controlled by the &C command (&C1). Example: AT&FE0S0=0S2=255Q0V1W2X4&C1 Set the DTR (Data Terminal Ready) Signal Set the actions taken by the modem relating to the DTR signal of the serial port. Configure the modem to hang up and enter command-mode with the &D2 command. To have the modem perform this function as well as restoring the modem's stored profile (the equivalent of an ATZ command), many modems support the &D3 command. Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2 Set Hardware Flow Control Set RTS/CTS bi-directional (hardware) as opposed to XON/XOFF (software) flow control. This is commonly set by the &K3 or \Q3 command. Communications will be unstable if both the client and server modems are not configured this way. Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2&K3 Asynchronous Error-control Mode Set the modem to asynchronous error-control mode. This is commonly controlled by the &Q command (&Q5). Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2&K3&Q5 CTS Tracks RTS Set the modem's CTS signal to track the RTS signal as opposed to having CTS ignore RTS. This is commonly controlled by the &R command (&R0), but is not supported at all in some modems. Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2&K3&Q5&R0 Disable Remote Digital Loopback Testing Set the modem to deny remote digital loopback test. Usually the &T5 command. This is unnecessary for use with the Worldgroup Manager. Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2&K3&Q5&R0&T5 Modem speaker volume The modem speaker volume is controlled by the L command. The higher this value is set, the louder the modem's speaker volume will be. The speaker itself can be toggled by the M command. The M0 command disables the modem's speaker. Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2&K3&R0&T5M0 Hang up and place the modem in command-mode Set the modem to hang up and place the modem in command-mode. This is controlled by the H command (H0). This is a factory-default with all modems, but some modems require this due to answering/resetting problems. This command is unnecessary for use with the Worldgroup Manager. Example: AT&FE0S0=0S2=255Q0V1W2X4&C1&D2&K3&R0&T5M0H0