Show HN: Baby's first international landline (wip.tf)
Hi HN,
As a weekend project, I hacked together a physical phone, a Raspberry Pi running Asterisk and Twilio, to let toddlers safely make international calls.
I’ve documented the setup in this write-up and published the code + Ansible playbooks on GitHub so others can replicate it.
I built this so kids of expats can easily stay in touch with family on other continents.
Would love feedback from anyone who’s worked on something similar or tries building this themselves!
writeup: https://wip.tf/posts/telefonefix-building-babys-first-intern... github repos: - https://github.com/nbr23/ansible-role-telefonefix - https://github.com/nbr23/allo-wed
28 comments
[ 610 ms ] story [ 2487 ms ] threadObviously, this can raise its own problems -- you'll have to train the kids not to randomly dial 911! -- but you never know what circumstances might exist where someone in a panic reaches for the nearest phone.
Nice work!
Once you have asterisk set up and running, it becomes easy to also set up all sorts of other extensions like "check the weather" / "tell a joke" / "check the train statuses". I put up some code for it here: https://github.com/mnutt/rotary
Yes it opens a bunch of doors for the user to interact with various APIs through voice (I want to hook it up to home assistant soon too, so we can be fancy and call the "butler" and ask it to turn the lights off, etc)
I wrote a tool that can extract and repack Grandstream firmware (https://github.com/BigNerd95/Grandstream-Firmware-HT802/tree...).
For example, I made a simple ARM patch that intercepts incoming caller IDs and triggers a bash script to decide what to do, in my case it checks a spam-lookup service and returns 0 or 1 so the ATA either rings or rejects the call.
This is interesting. Was there a serious issue while using a regular landline?
As a former toddler myself, I think that the worst I got up to was calling the radio station and giving bad traffic tips.
My overseas family had such a long number, stored in a book in my grandmothers handwriting, that theres little chance I would have connected and woken them up.
Is this designed to counter a specific threat model?
Eventually I gave up and went to Telnyx, which had a better KYC process and actual humans behind support that could resolve any quirks with KYC. Apparently not being born where you live breaks a lot of the automation behind some of these processes, go figure.
One of the worst service providers ive ever had to work with.
>>> As a weekend project, I hacked together a physical phone, a Raspberry Pi running Asterisk and Twilio, to let toddlers safely make international calls.
how often do toddlers make international calls???
Would it be possible to ditch Twilio and build it as a peer-to-peer system though? Or does that always require a coordination server?
There’s an existing product that seems to have some mindshare in the space: https://tincan.kids/
Basically $100 for the phone, plus $10/mo to call arbitrary numbers. My main concern here is the company goes belly-up and you’re left with a phone-shaped brick.
Another option I considered was a cheap unlimited SIM coupled with a GSM “desk phone” e.g. https://www.amazon.com/Generic-Wireless-Telephone-Cordless-8...
The problem here is there’s no way to filter inbound calls. The last thing I want is spammers ringing the house phone in the middle of the night.
https://news.ycombinator.com/item?id=5409914
I had a similar problem a few years back with a technophobe Grandma who wouldn't use whatsapp and a stingy aunt who'd moved to the states.
Used a Fritz!Box as it'll act as a DECT<->SIP server so my grandma could keep picking up her usual handset. Had a rule which matched the aunt's phone number so it got bounced via my FreeSwitch server rather than her PSTN, and some least-cost routing rules to pick a US based provider SIP provider with a +01 PSTN number so my aunt saw the incoming call looking local and could ring back if necessary at a cheap rate.
Honestly, the weird technical abominations we come up with to try and serve family members. The same Grandma went through a phase of falling, not being able to get up and then waiting hours for an ambulance to arrive. Would she tell the family? Would she sod. Was her regional ambulance service still dispatching jobs via pager message? You betcha. Did this end up with an SDR, POCSAG decoder and a regx looking for her postcode? Absolutely not; why would you ask such a thing?
I, on the other hand, want this to communicate with friends who want to do the same.
Also FYI for those who do want to use Asterisk behind CGNAT and cannot open ports - if you use PV SIP you can also register it as a Trunk in Asterisk and it can then receive inbound calls over the connection established by the outbound registration with simple a simple Twiml bin that routes whatever Twilio numbers you want to the SIP user you used to register the Asterisk's SIP Trunk. Asterisks can can then use inbound number plan to further route the inbound call as needed.