Making VoIP Calls with Antique Rotary Phones
nbailey.ca
nbailey.ca
We had to switch to modern lines after we got a 1200 bps modem. Someone from the phone company called and said "you've connected an electronic device to the party line, that's not allowed, 'cause how would your neighbors let you know they need to use the line?" apparently the argument "we're the only house on this line!" was not convincing. So touchtones started working, and presumably Southern Bell got to retire the last party line hardware at the switching station.
So I've long wanted to do some kind of hacking with a rotary phone! I've seen lots of DIY projects that use analog phones as audio inputs, but they almost never including dialing, so this is exciting to see! I've always assumed you'd have to build your own pulse-counting circuit, I had no idea there was a commercial option, that's kind of mind-blowing, but I suppose they were needed to support old hardware.
The same argument can be made for sleep. And there might be a useful analogy there...
Psychologically "sleeping" (i.e. directing your energies in not-obviously-productive pursuits) bends your brain in a way that a relentless focus on "useful" work does not. This is probably true of all entertainment.
Objectively, the person who spends 500 hours getting a 6502 emulator working in JavaScript and then blogging about it, has added more to the world than the person who spends those same hours streaming The Simpsons.
...and also more than those of us who spend 500 hours reading the blogs of people who made crazy useless things happen...
But maybe the personal value of the diversionary time spent has some sort of parity..?
There's a way that the "default" perspective of the industry tends to emphasize certain skills and knowledge and de-emphasize others, but the world of useful skills is much broader than that, and things crop back up in unexpected ways. Maybe we'll never need to make calls with an antique phone, but there could totally be audio and telephonic applications on modern hardware where the average engineer would have no idea what to do, but someone who had worked on a "toy" project like this would be able to say "oh, this is just like an old [whatever]"
We let kids try it. One 7 year old said, picking up the handset, "It's so heavy".
At home, I have several analog phones tied to a VoIP box on Sonic. They use the old house phone wiring, which is no longer attached to the telco. Plugging the VoIP box into a phone outlet drives them.
Coin telephones have a slightly different interface. But if it's been "reconditioned", the coin control system was probably disabled and it just acts like a ordinary analog phone.
I'm pretty sure I was made aware of this trick from the 1995 Hackers movie, so there is at least one accurate thing in that movie.
Recording the sounds that were emitted by a payphone when inserting coins and then playing them back into a payphone handset to get free calls ("red boxing") was a thing that def--err, maybe worked hypothetically I do not know and definitely never tried this absolutely not no way...
https://commons.wikimedia.org/wiki/File:New_Zealand_Rotary_T...
Unfortunately there system requires dialing "*701" or "*702" and dialing star on a true rotary phone isn't possible without some other system in place. Like this product from dialgizmo: https://www.dialgizmo.com/how_it_works.html Dialing two consecutive stars would still be annoying and slow.
I've been wanting to wire up an in-house "intercom" system using old phones. I'm a little surprised there isn't a "telephone HAT" for the raspberry pi that will interface directly with an old phone. A HAT that could interpret the DTMF or pulse dialing and drive even the old fashioned mechanical ringers.
However I have no clue on how to create a Voip server at home to serve phones locally and assign phone numbers.
The UI takes some getting used to but the service is cheap and works great. Similar to how I did it, you'd need an ATA box to provide analog service to the phone, and it would talk to your provider over SIP/RTP.
Another option would be a self-hosted PBX box. Asterisk [1] is the tried and true open-source option, but it does have some sharp edges. 3CX [2] is another option, but it's proprietary and has some limitations.
Either way, you would need a provider to give you the 'SIP Trunk' (phone number etc). I think Twilio [3] is the best option for this, but I've been using a hosted service for a while so I don't have much recent experience with this and can't vouch for costs/functionality.
---
Provider for hobbyists who need flexibility: voip.ms
Provider for cheapest termination rates and flexibility: Anveo Direct (not the consumer product)
Bria and Groundwire have good SIP softphones for mobile, but aren't free. Since multitasking on iOS is so limited, these apps can register on their own servers, then send push notifications on calls.
3CX or Asterisk are good choices for connecting to trunks. 3CX is much less flexible, can cost money, but is "easy".
(fun project).