home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / dialback.zip / DIALBACK.DOC next >
Text File  |  1994-05-21  |  4KB  |  138 lines

  1. Dialback.
  2.  
  3. Dialback is an external util which allows Maximus Sysops to be called
  4. back from their BBS.
  5.  
  6. So if you have running a maximus BBS at your working place and don't
  7. want to pay the phonebill for your maintenace at home dialback is
  8. ideal for this purpose.
  9.  
  10. INSTALLATION 
  11.  
  12. run dialback without any commandlineparamters to get an overview what
  13. commandlineparms you'll need.
  14.  
  15. /C comportname this is the Comport where 1=COM1 and 2=COM2 and so on.
  16. This option should only be set by Maximus itself.
  17.  
  18. /B Baudrate this is the Baudrate if you use a locked Baudrate then
  19. use the %W token from Maximus.
  20.  
  21. /I Dialprefix this is the Dialprefix which will be copied to the
  22. command 'ATD' so if you type /I T then dialback will send 'ATDT' to
  23. the Modem when it dials out.
  24. You can also expand it to some other dialingcommands like /I T,!, on
  25. an USR Modem this will also Drop DTR raise DTR and then DIAL.
  26.  
  27. /T Tells Dialback how often it should trie to get an Connect default
  28. is 1 time, this comamnd is very usefull if you use a fixed
  29. dialbackumber otherwise dialback will ask you online how it should
  30. try.
  31.    
  32. /$ Tasknumber this is the Tasknumber and it's only used to read the
  33. proper lastuser.bbs to give you some information in a logfile.
  34. This token is only used Maximus intern with the /$ %k token.
  35.  
  36. /* delaytime this ist the Time the Modem waits for a valid Connect
  37. The defuaulttime is 60secs but if you want to be called back at long
  38. distance it's very usefull to increase the delaytime to your needs.
  39.  
  40.  
  41.  
  42. /D 
  43. You can per default define a callbacknummer with the /D <number>
  44. option. This is only for security reasons if you don't use the /D
  45. switch then Dialback will ask you what number it should dial.
  46.  
  47.  
  48. SOME SAMPLES
  49.  
  50. In my menus0.ctl i have here a so called sysopmenu which is only
  51. reachable at level sysop
  52.  
  53. Menu SYSOP0
  54.         Title           SYSOP
  55.         MenuHeader      None
  56.         MenuFile        c:\max\menus\sysop0
  57.         User_Editor                                Sysop "User Editor"
  58. Xtern_Erlvl 43_f:\tp7\exe\dialback.exe_/B_%W_/C_%P_/T_2_/I_T,!,_/$_%k Sysop "Dialback"
  59. UsrRemote Xtern_Run     Command.Com_>com%P_<com%P   Sysop "OS Shell"
  60.         Display_Menu    Main%Y                      Sysop "Main menu"
  61.  NoDsp  Display_File    Misc\cls                     Twit "|"
  62. End Menu
  63.  
  64. As you can see i use an Xtern_erlvl 43 to exit Maximus and call
  65. Dialback.
  66.  
  67. in my spawnbbs.bat i have therefore
  68.  
  69. IF ERRORLEVEL 43 goto dialback
  70.  
  71. :dialback
  72. if %TASK% == 05 goto end
  73. if %TASK% == 04 goto end
  74. CALL ERRORL%TASK%.BAT
  75. if exist \max\bbsbatch.bat copy \max\bbsbatch.bat \MAX\BINK%TASK%
  76. cd\MAX\BINK%TASK%
  77. if errorlevel 2 goto retbbs
  78. if errorlevel 1 del \max\active%TASK%.bbs
  79. if errorlevel 1 start%TASK%.bat
  80. if errorlevel 0 del \max\active%TASK%.bbs
  81. if errorlevel 0 bbsbatch.bat
  82.  
  83.  
  84. :end
  85. if %TASK% == 01 start%TASK%.bat
  86. if %TASK% == 02 start%TASK%.bat
  87. if %TASK% == 03 start%TASK%.bat
  88.  
  89.  
  90. The %TASK% is only an environment variable created like
  91. SET TASK=02
  92.  
  93.  
  94. WHAT IT REALLY DOES
  95.  
  96. Dialback creates a file with the Name BBSBATCH.BAT Binkley Users will
  97. notice this name and if all works correct 
  98.  "Dialback calls Back"
  99.  "Dialback got a connect"
  100.  "Errorlevel 0"
  101.  
  102. your spawnbbs.bat file calls the bbsbatch.bat which in return calls
  103. again SPAWNBBS.BAT with the proper parameters.
  104. And Maximus starts again.
  105.  
  106. The contents of the BBSBATCH.BAT file are
  107. SPAWNBBS 2400 2400 1 456 /None
  108.  
  109. The Spawnbbs is hardcoded so you must have a spawnbbs.bat file or you
  110. must create a dummy 
  111. SPAWNBBS.BAT and then call in this file your BBS.BAT file with
  112. BBS %1 %2 %3 %4 %5 %6 %7 
  113.  
  114. FEATURES:
  115. Dialback supports Comports from COM1 to COM8 and it also works on
  116. ISDN Lines which uses Fossil INT 0x14 functions.
  117. Dialback doesn't work without any Fossildriver. 
  118. Dialback only supports modems which are Hayes compatible that means
  119. the modems must support the 'AT' command set.
  120.  
  121. BUGS:
  122. As far as i know there are no bugs
  123.  
  124. WARRANTY:
  125. I give you no warranty that it will work on your setup, but it works
  126. here on several BBS's without any troubles.
  127.  
  128. IDEAS,SUGGESTIONS:
  129.  
  130. If you have any idea for future release then let me know,
  131. if you have any troubles with modems then i am also interested in
  132. them.
  133. I can be reached at fidonet 2:310/3, 2:310/2
  134.  
  135.  
  136. Vienna 21-05-94
  137. Schlagnitweit Werner
  138.