How Do I Filter Phone Calls on a Land Line?
An anonymous reader asks: "I have a telephone on a plain old land-line, with the option of subscribing to caller-id.
I would like to filter incoming phone calls, diverting them to either the handset or answering machine, based on whether the caller-id matches a list of trusted phone numbers.
Considering that many of today's land-line telephone handsets can display caller-id and store a list of favourite phone numbers, I don't think this is technologically difficult.
AI am not interested in: subscribing to a service provided by my telephone company. I would prefer the filtering occurred on my side of the phone line, or implementing a software solution on my PC. Frankly, that is overkill, and I don't want my PC turned on permanently. I would prefer something like a small, solid-state hardware device. Is there any such thing available?"
OK, you have a couple of options as I see it.
First would be to set up some kind of PBX. It's a little complex, but it would work. You could use Asterisk (I think that is what it's called) and some hardware (since I think it was designed for VOIP) and do it that way.
The more fun (in my eyes) and complicated way is to build it yourself. You could do this with a PIC micro-controller (or similar). You could put the little box you would make at the phone entry point of your house. When the phone rings you let the first ring through (so you know someone called). Caller ID is transfered between the 1st and 2nd rings so that is when the MCU picks that up. Based on that, it can power a double pole double throw relay. In the normally closed position the phone signals are routed to your house wiring. When a "bad" caller ID is encountered it simply powers the relay switching the phone line from being connected to the phones to the answering machine. Of course the answering machine could be anywhere if you can isolate it's phone jack from the rest (shouldn't be too hard).
Now there are a few little things to take into account here. First is that you may want to generate a ring for the answering machine so that it picks up on the 4th ring (or whatever) instead of the 5th because of the "lost ring". Second is that if you automatically send people to the answering machine unless the right caller ID comes across (i.e. the answering machine is in the normally closed position) then you'll need to make sure you have a way to force the relay to switch. You would want this even if you decide to pick up a call from the machine. When the main wiring is disconnected you could monitor the wiring to see if anyone picks up (you'd have to power it probably) and switch the relay if that happens. That way any time you pick up the phone you will always get the dial tone/caller. Having the relay connect you to the phone line in the normally-closed position is an important idea because you want it to be safe and let you use the line during a power outage.
It'd be a very cool project. You can find bits about how to do it on the web. For example, I once saw something about a guy who built his own TTL PBX. That project (which was rather well documented, as I remember) would be a gold mine for you.
If you do it, make sure to write it up and post it. I'd love to read it and I'm sure others would too.
Comment forecast: Bits of genius surrounded by a sea of mediocrity.
Microsoft released a 900MHz cordless phone back in late 1998 that had all the features you want, plus more. You could create a whitelist in the software and any phone call that wasn't in the whitelist wouldn't even ring the handset, but get diverted straight to voice mail. The phone supported voice dialing, multiple voice mailboxes, personalized rings and greetings based on the Caller-ID number. The software would automatically divert or block Caller-ID blocked incoming phone calls. The software even imported your phonebook from Outlook Express/Outlook.
Ok, granted, the phone was 900MHz, was quite bulky and the batteries were less than optimal. The one feature that this phone had that none (except PBXs) have had since, was total control of the hardware ringer. Because you had total control of the ringer, features became available (and controllable via software) that would allow you to force select incoming calls straight to voicemail or DND without ever being distracted by the ring. Of course, this product was soon killed and all support for updates to the software quickly killed, too.