CALLBACK.DOC

3.6 KB 613fe2d88e86a66b…
** NOTE: People switching from an older version - Look at the .CFG it has
         changed ALOT!


T.A.G. Callback Door v.1.6
Copyright (c) 1989-1990 by W. Brian DeSiro

FINALY!  I started writing this program allmost a year ago, and put it off,
quit, stopped, and ran into problems so many times!  But I finally got around
my biggest bugs and it's done!  This program will call back a user to check
their phone number, once they connect it will ask them for their password and
if they get it right it will validate them and then exit back up to the BBS.
it will allow you to allow long distance calls, out of area code calls, or
restrict them.

first edit the CALLBCAK.CFG file to suit your needs:

     COM1                        <== Com port
     d:\bbs\status.dat           <== location of STATUS.DAT
     d:\bbs\gfiles\sysop.log     <== location of SYSOP.LOG
     d:\bbs\gfiles\user.lst      <== Location of tags user.lst
     d:\bbs\gfiles\validate.dat  <== location of tags validate.dat
     text1                       <== String to tell user to hang up
     text2                       <== Second string to tell user to hang up
     N                           <== Allow Long Distance? (Y/N)
     N                           <== Allow out of area code calls? (Y/N)
     N                           <== Is this being run in your LOGON.BAT (Y/N)
     3                           <== Number of times to redial the user.
     23                          <== Start hour to allow LD calls.  / military
     2                           <== End hour to allow LD calls.    \ time
     1                           <== Number of validation set in tags
                                     validation editor to give user access of.

Note:  If you DO NOT run this in your logon.bat it will be a command from
       your main menu and people will have the option to use it if they want.
       it will also display messages a little differentally, and print some
       things that it wont in your LOGON.BAT

       if you DO run this in your LOGON.BAT it will be required for ALL new
       users to enter it.  If a user is allready validated, CALLBCAK loads up
       sees the person is validated and halts IMMEDIATALLY causing only a
       second of slow down to a normal users logon.

next you must edit your LOCAL.CFG file to express local calls to you:

313 <== your area code
    <== blank line
420 <== from here down list all of the prefixes local to you, on seperate
495     lines

a sample LOCAL.CFG has been included to show you what one would look like for
someone living in plymouth.  If you live in plymouth you can even use this one.


The final step is specifying how you want to run it.

if you run this from a LOGON.BAT you will just need to add the following
line to your LOGON.BAT

                'CALLBACK %1 %5'

This will pass baud rate and user number.

if you run this as a command from a menu, you need to create the command
with PKEY=< and PDATA=CALL.BAT  call.bat should just contain the line

                'CALLBACK %1 %3'

Notice the %3, which is different from the LOGON.BAT command line.

Once you have done that you are done!  This program MUST be run in your
BBS dir.  It automatically loads things such as user.lst, sysop.log ect.
from your gfiles directory.

the program gets the info to validate the user with from your status.dat
file.

THATS IT!

                If you have any problems at all!
                           Call
                      313-420-4624 3/12/2400
                      313-420-3438 Voice