home *** CD-ROM | disk | FTP | other *** search
- Flashman #1 @1630
- Sat Jun 03 15:57:51 1995
- [PRELIMINARY NOTE:] I am starting a NEW series of mods titled LSD-xxx.4xx.
- This is merely for naming practicality purposes. I am, however, the same
- Flashman that created the FLASHxxx series. Many of my LSD mods will be
- re-releases/revamped versions of old FLASHxxx mods. Just thought you might
- want to know.
-
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: LSD-001.424 Date Finished: 6/3/95 │
- │ (Re-release/upgrade of FLASH003.MOD) Author: Flashman #1 @1630 WWIVNet │
- │ Difficulty: [▓░░░░░░░░░] (1/10) @9918 IceNet │
- │ WWIV Version: 4.24 @9930 TerraNet │
- │ Files Affected: bbs.c ndpj16c@prodigy.com │
- │ Description: The ORIGINAL Ring distinction mod for voice/data linesharing │
- └────────────────────────────────────────────────────────────────────────────┘
- Extended description: With this mod, sysops can now run a BBS *and* take voice
- calls on the same phone line. All you need to do is install this mod, and make
- sure that you have a distinctive ring service from your phone company. Don't
- worry though, these services normally only cost from $2-$3 a month and are
- MUCH cheaper than installing a new phone line.
-
- Services this mod should theoretically work with:
- - GTE's "Smart Ring"
- - AT&T's "IdentiCall"
- - Pacific Bell's "Priority Ringing"
- ...Or any other service which provides 2 phone numbers to 1 phone line, in
- which one of the numbers makes the phone 'double-ring' when calls come in,
- whereas the other number single rings. Here's an example. 2 phone numbers,
- but only 1 physical line.
- NUMBER PHONE RINGING SOUND
- -------------------------------------------------------
- 555-1234 Ring.... Ring.... Ring....
- 555-6789 Ring-Ring.... Ring-Ring.... Ring-Ring....
-
- Anyway, that's my explanation. If you have one of the above listed phone
- services or something like it, you may install this mod. If you DON'T, either
- GET the service and install this mod, or don't. If you still don't understand
- the PURPOSE of this mod, hit yourself on the head with a mallet and take a
- nap for a while.
-
- [DISCLAIMER]
- This mod has ONLY been tested with GTE's Smart Ring service. My assumption
- that it will work on any similar service is strictly theoretical.
-
-
- [STEP 1]
- Make backups of the files affected by this mod as listed in the mod header.
-
-
- [STEP 2]
- Load bbs.c. Find void getuser() and remove this chunk of code. You will need
- to replace it with a NEW chunk of code given in step 3.
-
-
- outs("* ");
- if (mode_switch(1.0,0)==mode_ring)
- answer_phone();
- else if (modem_mode == mode_con) {
- incom=outcom=1;
- if (!(modem_flag & flag_ec))
- wait1(45);
- else
- wait1(2);
- }
- }
- }
-
-
- [STEP 3]
- You now need to make a decision. Do you want the BBS to pick up on the single
- ring, or on the double ring? If you want the BBS to answer the phone on a
- regular, single ring, replace the code taken out in Step 2 with this:
-
- outs("* ");
- if (mode_switch(1.0,0)==mode_ring) {
- if (mode_switch(2.0,0)==mode_ring) {
- outs("\x0c");
- outs("Voice call detected. Suspending program for 30 seconds.");
- sleep(30);
- incom=outcom=1;
- if (!(modem_flag & flag_ec))
- wait1(45);
- else
- wait1(2);
- } else
- answer_phone();
- }
- }
- }
-
-
- Alternate method - To make the BBS pick-up on the double-ring instead, replace
- the code you took out in Step 2 with this:
-
-
- outs("* ");
- if (mode_switch(1.0,0)==mode_ring)
- if (mode_switch(2.0,0)==mode_ring)
- answer_phone();
- else {
- outs("\x0c");
- outs("Voice call detected. Suspending program for 60 seconds.");
- sleep(60);
- outs("\x0c");
- incom=outcom=1;
- if (!(modem_flag & flag_ec))
- wait1(45);
- else
- wait1(2);
- }
- }
- }
-
-
- [STEP 4]
- That's it! Just save bbs.c and recompile. Was that painless or what? You now
- have a fully-functional voice/data linesharing BBS. Hope you enjoy it!
-
-
- If you use this mod, I'd like to know. E-mail me at one of my contact
- addresses listed in the header and let me know how you like it. Or if you
- haven't tried it out yet, let me know how you like the idea. Feel free to
- send any additional questions or comments as well.
-
- 1Flash9Man0
-