惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
F
Fortinet All Blogs
U
Unit 42
F
Full Disclosure
雷峰网
雷峰网
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
罗磊的独立博客
D
DataBreaches.Net
C
Check Point Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
O
OpenAI News
C
CXSECURITY Database RSS Feed - CXSecurity.com
aimingoo的专栏
aimingoo的专栏
S
Security @ Cisco Blogs
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Hacker News
The Hacker News
Webroot Blog
Webroot Blog
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
N
News | PayPal Newsroom
P
Proofpoint News Feed
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
C
Cybersecurity and Infrastructure Security Agency CISA
N
News and Events Feed by Topic
Google Online Security Blog
Google Online Security Blog
H
Help Net Security
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
I
Intezer
Application and Cybersecurity Blog
Application and Cybersecurity Blog
M
MIT News - Artificial intelligence
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
MyScale Blog
MyScale Blog
腾讯CDC

Posts on Noah Bailey

How to turn anything into a router Deploy to Cloudfront from GitHub using OpenID Connect Backup Postgres databases with Kubernetes CronJobs The spelling error made 200 billion times a day Restarting Kubernetes pods using a CronJob You've just bought a new domain. Now what? Who Sawed My Motherboard??? Linux on the P8 Aliexpress Mini Laptop Recovering Mysql/Mariadb after a nasty crash Using EXIF data to pick my next lens Converting and developing RAW photos on Linux automatically Thank you, 2016 iPhone Don't Make It Work Self-hosted Surveillance with ZoneMinder Backups, Monitoring, and Security for small Mastodon servers Block web scanners with ipset & iptables Executing commands over SSH with GitHub Actions Debian Sid on encrypted ZFS Protect your dangerously insecure redis server Debian: the luxurious boring lifestyle Monitor radiation with a Raspberry Pi Simple Linux server alerts: Know your performance, errors, security, syslog, and security NUC crashes on debian 11 - How I fixed it Basic Linux server security with fail2ban, ossec, and firewall Windows 11 will create heaps of needless trash Domesticated Kubernetes Networking The Cursed Certificate Our mostly disposable and entirely stupid world Trying out OpenBSD (as a Linux geek) Monitoring WAN speed with speedtest-cli and ElasticSearch Monitoring WAN latency with InfluxDB The Zeroshell botnet returns Installing Gentoo on a vintage Thinkpad T60 Malware emails 2: Russian boogaloo TP-Link Device Weirdness ElasticSearch broke all my nice things (a story of cascading failure) A New Botnet is Targeting Network Infrastructure Malware on the Wire: Monitoring Network Traffic with Suricata and ClamAV Cloud Threat Protection with OSSEC and Suricata Malware Emails From Jerks Surviving the Apocalypse with an Offline Wikipedia Server Being Attacked by Bots Linux Router, Firewall and IDS Appliance You Probably Don't Need a VPN Fix an Oversharded Elasticsearch Cluster Automating KVM Virtualization Update all your linux servers as fast as possible Cleanup Systemd Journald Storage Stop Putting Your SSH Keys on Github! Clustering KVM with Ceph Storage Stealing Windows Sessions FreeRadius Active Directory Integration Retrieving WPA2 Keys on Windows Deploy MDT Litetouch on Linux with TFTPD and Syslinux Generating MSI transform files with Orca The Inflatable Dinghy Generating Cisco IOS config files with Python Homebrew SAN Getting Cloudy
Making VoIP Calls with Antique Rotary Phones
2021-01-10 · via Posts on Noah Bailey

One of the worst parts of modern life is how unsatisfying it is to hang up on somebody. Tapping on the ‘End Call’ button on an iPhone or angrily clicking ‘Leave Meeting’ on Zoom just isn’t nearly as fun as slamming down the handset on a real phone.

This particular project was to breathe some life into the antique Northern Telecom phone from my grandparents’ house by attaching it to a modern VoIP system. This was surprisingly difficult, but very satisfying as the result is essentially a free ‘vintage’ landline for my home.

Northern Telecom model 500

Photo Source: Kenton’s Antiques

The Phone

The device in question is a NT analog phone, based on the classic Western Electric model 500. The models are very similar with only minor differences, for example the printing of the numbers on the dial is slightly different for models from Canada. Based on the stamp marks on the bottom, I believe this phone was manufactured in 1969 and installed shortly after, which does match up with when my grandparents would have purchased their first phone.

On its own, this telephone would not work with any modern telecom system. The ‘pulse dial’ that it produces is not compatible with modern telephone equipment and VoIP adapters alike.

I can’t get a good source on this, but most telephone exchanges in urban areas haven’t accepted pulse dial signals for decades. Some areas may still accept pulse signalling depending on the age of their equipment, but in 2021 I doubt there are many left. Seeing as how Dual-Tone Multi-Frequency (DTMF) signalling has been the standard for over forty years, nearly all VoIP equipment was manufactured without support for old devices.

Pulse Dialling

Photo Source: RF Wireless World

Pulse dialing is very simple as it is derived from the mechanical rotation of the dial. As it turns from the dialed digit back to the resting position it toggles the local loop voltage to transmit the data to the FXO. In the old days, these voltage ’ticks’ were used to rotate mechanical switches in the exchange stations to connect physical circuits needed to complete a call.

DTMF Dialling

DTMF on the other hand is an in-band signalling method using eight different frequencies transmitted in pairs. To use the example from Wikipedia, to transmit a ‘1’ on a DTMF system it will transmit two tones, 1209Hz and 695Hz together:

Photo Source: Wikipedia

These tones are the beeps we’re used to hearing when dialing. Even my cell phone creates these tones when you type on the on-screen keypad in the ‘Phone’ app, though it’s mostly for ‘cosmetic’ reasons. Theoretically one could use these tones to dial on a rotary phone if you held the speaker of the cell phone up to the microphone of the telephone while dialling, though I couldn’t get it to reliably work.

Converting signalling

So, the first piece of equipment I needed was a pulse-tone converter. Indeed, such a device does exist to convert the ’ticks’ produced by the rotary dial to the ‘beeps’ produced by most keypad phones. I was a little squeamish about tearing apart a working antique, so I opted to buy an external dial tone converter box from OldPhoneWorks.

Photo Source: OldPhoneWorks

It’s a very simple device which listens for the pulse tones and using tiny DSP chips converts them to DTMF tones. If your only goal was to use the old phone with a POTS landline this would be sufficient, but I want to connect this to VoIP.

The SIP ATA box

There are heaps of Analog Telephone Adapter (ATA) boxes on the market, but in the interest of keeping this project low-cost I opted to purchase a new-old-stock Linksys PAP2T-NA device from eBay. I wasn’t too worried about security since the device sits in the ’enclave’ part of my home network isolated from personal devices, and won’t have any ports forwarded to it. I was initially worried that my custom Linux router would cause issues with the UDP traffic RTP creates, but it handled it wonderfully.

Setup was fairly straightforward to begin with, entering my sub-account credentials and SIP proxy server. Without too much fuss the device was registered and communicating with my provider.

However, I did run into some strange issues after initially setting it up. First, the ring pattern was intermittent and sounded strange. After a couple test calls I also found that both sides of the conversation were quiet when using the vintage phone. With some fiddling, I rectified these by increasing power limits slightly:

  • Changed ring waveform to Sinusoid
  • Changed ring voltage to 90
  • Changed FXS port power limit -3 -> 5
  • Changed FXS port input & output gain -3 -> 0

I chalk these up to the mechanical nature of the ringer and the age of the mic/speaker. After all, there’s a lot more energy involved in moving a hammer around than powering a little beeper.

Making calls

That night, I successfully ordered a pizza using an antique phone. Dialing was laborious, but novel for somebody my age, and honestly kind of fun.

Monthly costs are minimal, only $0.80 for the DID number and an additional $0.005 per minute. Calls are clear and sound great, and after nearly a month of use I can say that it’s reliable and solid as a ’landline’ replacement. Plus, it makes a great conversation piece!

There are certainly improvements I would could make, for example adding SRTP to add another layer of security for my calls. It would also be nice to add additional handsets to my house to build an ‘intercom’ - that is if I can find more old phones.