home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / ALLMODS.ZIP / LSD-001.ZIP / LSD-001.MOD < prev   
Encoding:
Text File  |  1995-06-11  |  4.8 KB  |  127 lines

  1. Flashman #1 @1630
  2. Sat Jun 03 15:57:51 1995
  3. [PRELIMINARY NOTE:] I am starting a NEW series of mods titled LSD-xxx.4xx.
  4. This is merely for naming practicality purposes. I am, however, the same
  5. Flashman that created the FLASHxxx series. Many of my LSD mods will be
  6. re-releases/revamped versions of old FLASHxxx mods. Just thought you might
  7. want to know.
  8.  
  9. ┌────────────────────────────────────────────────────────────────────────────┐
  10. │ Mod Name: LSD-001.424                   Date Finished: 6/3/95              │
  11. │ (Re-release/upgrade of FLASH003.MOD)    Author: Flashman #1 @1630 WWIVNet  │
  12. │ Difficulty: [▓░░░░░░░░░] (1/10)                             @9918 IceNet   │
  13. │ WWIV Version: 4.24                                          @9930 TerraNet │
  14. │ Files Affected: bbs.c                                  ndpj16c@prodigy.com │
  15. │ Description: The ORIGINAL Ring distinction mod for voice/data linesharing  │
  16. └────────────────────────────────────────────────────────────────────────────┘
  17. Extended description: With this mod, sysops can now run a BBS *and* take voice
  18. calls on the same phone line. All you need to do is install this mod, and make
  19. sure that you have a distinctive ring service from your phone company. Don't
  20. worry though, these services normally only cost from $2-$3 a month and are
  21. MUCH cheaper than installing a new phone line.
  22.  
  23. Services this mod should theoretically work with:
  24.         - GTE's "Smart Ring"
  25.         - AT&T's "IdentiCall"
  26.         - Pacific Bell's "Priority Ringing"
  27. ...Or any other service which provides 2 phone numbers to 1 phone line, in
  28. which one of the numbers makes the phone 'double-ring' when calls come in,
  29. whereas the other number single rings. Here's an example. 2 phone numbers,
  30. but only 1 physical line.
  31. NUMBER                  PHONE RINGING SOUND
  32. -------------------------------------------------------
  33. 555-1234                Ring....       Ring....       Ring....
  34. 555-6789                Ring-Ring....  Ring-Ring....  Ring-Ring....
  35.  
  36. Anyway, that's my explanation. If you have one of the above listed phone
  37. services or something like it, you may install this mod. If you DON'T, either
  38. GET the service and install this mod, or don't. If you still don't understand
  39. the PURPOSE of this mod, hit yourself on the head with a mallet and take a
  40. nap for a while.
  41.  
  42. [DISCLAIMER]
  43. This mod has ONLY been tested with GTE's Smart Ring service. My assumption
  44. that it will work on any similar service is strictly theoretical.
  45.  
  46.  
  47. [STEP 1]
  48. Make backups of the files affected by this mod as listed in the mod header.
  49.  
  50.  
  51. [STEP 2]
  52. Load bbs.c. Find void getuser() and remove this chunk of code. You will need
  53. to replace it with a NEW chunk of code given in step 3.
  54.         
  55.         
  56.         outs("* ");
  57.         if (mode_switch(1.0,0)==mode_ring)
  58.           answer_phone();
  59.         else if (modem_mode == mode_con) {
  60.           incom=outcom=1;
  61.           if (!(modem_flag & flag_ec))
  62.             wait1(45);
  63.           else
  64.             wait1(2);
  65.         }
  66.       }
  67.     }
  68.         
  69.  
  70. [STEP 3]
  71. You now need to make a decision. Do you want the BBS to pick up on the single
  72. ring, or on the double ring? If you want the BBS to answer the phone on a
  73. regular, single ring, replace the code taken out in Step 2 with this:
  74.         
  75.         outs("* ");
  76.         if (mode_switch(1.0,0)==mode_ring) {
  77.           if (mode_switch(2.0,0)==mode_ring) {
  78.             outs("\x0c");
  79.             outs("Voice call detected. Suspending program for 30 seconds.");
  80.             sleep(30);
  81.             incom=outcom=1;
  82.             if (!(modem_flag & flag_ec))
  83.               wait1(45);
  84.             else
  85.               wait1(2);
  86.           } else
  87.             answer_phone();
  88.         }
  89.       }
  90.     }
  91.  
  92.  
  93. Alternate method - To make the BBS pick-up on the double-ring instead, replace
  94. the code you took out in Step 2 with this: 
  95.  
  96.         
  97.         outs("* ");
  98.         if (mode_switch(1.0,0)==mode_ring)
  99.           if (mode_switch(2.0,0)==mode_ring)
  100.             answer_phone();
  101.           else {
  102.             outs("\x0c");
  103.             outs("Voice call detected. Suspending program for 60 seconds.");
  104.             sleep(60);
  105.             outs("\x0c");
  106.             incom=outcom=1;
  107.             if (!(modem_flag & flag_ec))
  108.               wait1(45);
  109.             else
  110.               wait1(2);
  111.           }  
  112.       }
  113.     }
  114.  
  115.  
  116. [STEP 4]
  117. That's it! Just save bbs.c and recompile. Was that painless or what? You now
  118. have a fully-functional voice/data linesharing BBS. Hope you enjoy it!
  119.  
  120.  
  121. If you use this mod, I'd like to know. E-mail me at one of my contact
  122. addresses listed in the header and let me know how you like it. Or if you
  123. haven't tried it out yet, let me know how you like the idea. Feel free to
  124. send any additional questions or comments as well.
  125.  
  126.                              1Flash9Man0
  127.