;$HBBS ; Filename: Device : Location: Nodes/NodeX/ ; Purpose: settings for modem ; if this file is missing from a node directory the bbs software will assume ; the node is a sysop local node. ; We hope the modem configuration options are complete enough for all sysops. ; the modem settings are normally a real pain to get right on other bbs systems ; so we have tried to make this VERY configurable. ; if you would like to see a new feature added to this then PLEASE CONTACT US ; IMMEDIATLY and we will do are very best to implement it as soon as we can! ; Note: most of the setting in this config file should work with all 100% hayes ; compatiable modems, but there is bound to be one make of modem that might ; not support the defaults in this file, in anycase, please check these ; settings with the manual for your modem just in case. ; We recommend you use USRobotics/Miracom modems with this bbs software ; as they are extremly good and reliable modems. ;****************************************************************************** ; serial device driver to use for the node, usually just serial.device ; note that this command is case sensitive. ; we recommened you that you use USRSerial.device for usrobotics modems ; and BaudBandit.device for other modems, these serial drivers are more ; streamlined, efficent and use less CPU time than the standard C= one. DeviceName=USR Courier V34+ ;SerialDevice=nullmodem.device ;SerialUnit=2 ;SerialBaud=38400 ;SerialDevice=ibmser.device;BaudBandit.device;8n1.device;serial.device ;SerialUnit=1 ;SerialBaud=57600 ;NullModemCable=NO DeviceName=TelnetD SerialDevice=telnetd.device SerialUnit=0 SerialBaud=38400 NullModemCable=FALSE ; now, the following option, if enabled, will make the node open a small window ; on it's screen into which you will see all commands sent to the modem and ; all responces received back from it you can also have these saved to a log ; file by enabling the ModemLog option (below) ; (note that clicking the "ModemDebug" button and on a node button from the ; gui will override this setting for as long as the node is active) ModemDebug=ON ; If enabled all input and output from the modem will be saved in a time and ; datestamped file (see BBS:Nodes/NodeX/NodeLocal file, option ; ModemLogFile= setting) ModemLog=OFF ; max time to wait before OK or ERROR is received from the modem. MaxCommandWait=5 ; value is in seconds... ; number of retries the bbs will make before resending the TurnEchoOn ; string CommandRetries=3 ; amount of times the bbs will send the TurnEchoOn string if it doesn't receive ; OK from the modem EchoRetries=4 ; number of retries the software will make AFTER the echo retries (above) before ; the serial device driver is closed and reopened. ReOpenRetries=2 ; time to wait after closing the serial device before reopening it. ReOpenDelay=30 ; 60 per second ; to recap using the 4 defaults above, ; The node will retry the command 3 times, if the command times out then it ; will send the TurnEchoOn string to the modem 4 times until it receives an OK ; if it still fails it will close the serial device and reopen it ; after 120 milli seconds and try all over again.. ; using the above 4 settings we can pretty much cope for any strange error ; that might cause a modem to lockup. Obviously if the modem has totally locked ; up and does not respond at all someone will still have to powercycle the modem ; by hand. ; Now comes a really great feature, if the modem does lockup totally (see above) ; the following script will be run. So in theroy you could have a little ; IO device on you parallel port connected to the power of your modem (via a ; relay or something) that could actually turn the modem off and on again!! ; now how's that for failsafe bbs lockup protection!! :-) LockUpScript=HBBS:Scripts/Lockup.scr ; delay to wait before sending another command after OK is received. ; normally set this to about 5 or so for NULLMODEM.device, but for a modem ; you'll probably need values about 30... DelayBetweenCommands=5 ; 60 per second... ; specifies how long the software should wait before sending another ; character to the modem TildeDelay=60 ; Also note that the Local Echo Should Be Turned ON, unlike most bbs software ; this software checks that the modem is actually receving the commands ; that you want to send to it. ; the following command is send to the modem as soon as the serial device driver ; is opened, note that the bbs software WILL NOT verify that this command ; has been sent as the modem's local echo setting may be off so we cannot ; check for the characters coming back from the serial port until this ; command has been completed, also make sure that the modem is setup so that ; when a command completed it returns either OK or ERROR rather than a numerical ; result code ;TurnOnEcho_1=AT&B2E1Q0V1 TurnOnEcho_1=ATE1 ; Modem INIT's get sent when the node is started, a user logs off and ; when the node is reset. ; below are the preferred defaults, this bbs software lets the modem answer ; the call itself using its own auto answer method, so make sure auto answer ; is set to ON in the init string. Normal Hayes Compatable modems use the S0 ; register to set auto answer, it's best to make the modem answer after 2 or 3 ; rings, to give those people going through some sort of international gateway ; or operator to put the modem on after they have finished speaking to an operator ; USR Courier V34+x2 ;ModemInit_1=AT&F ;ModemInit_2=AT b0 c1 e1 f1 m1 q0 v1 x6 &a3 &b1 &c1 &d2 ;ModemInit_3=AT &h1 &i0 &k3 &l0 &m4 &n0 &r2 &s0 &t5 &x1 ;ModemInit_4=AT &y1 %N6 s8=2 S10=7 S32=8 S56=16 H0 S0=1 ; USR Sportster Voice V34+, not upgraded to x2 ;ModemInit_1=AT&F ;ModemInit_2=ATb0e1f1m1q0v1x6&a3&b1&c1&d2 ;ModemInit_3=AT&h1&i0&k3&m4&n0&r2&s0&t5 ;ModemInit_4=AT&y1s8=2S10=7S32=8H0S0=1 ModemInit_1=ATS0=1 ; for determining when a connection has been made the following methods are used ; the first is the strict connect method, the connect string received from the ; modem MUST match letter for letter to one of the strings defined in the ; StrictConnect.x= parameters. ; the second method is what we would normally use and that method is as follows. ; when a string is recevied from the modem it is searched for the word ; defined in RelaxedConnect and if that word is found the connection starts StrictConnect=OFF StrictConnectStr_1=CONNECT 9600 StrictConnectStr_2=CONNECT 12000 StrictConnectStr_3=CONNECT 14400 StrictConnectStr_4=CONNECT 16800 RelaxedConnectStr_1=CONNECT ; Command sent to modem to put the modem in command mode while still on-line. ; Note: command is not checked when sent to modem CommandModeString_1=~~~+++~~~ ; string sent to modem to enforce a hang up. HangUpString=ATH0M0 ; string sent to modem to make it go off-hook. This is sent after a carrier loss ; and when a user is logging off after the CommandModeString has been sent to ; the modem, you might also want to turn of your modem's speaker using something ; like "M0" in this. OffHookString=ATH1M0 DropDTRHangup=TRUE Incoming=RING ImmediateAnswer=ATA TurnOnEchoDelay=10 DumpModem=NO UseCRLF=NO