Hacker News new | ask | show | jobs
by phrotoma 810 days ago
You seem to know your stuff, perhaps you could suggest some direction for an offhand idea I had? I'd like to build a standalone version of something like this site for an art installation at a festival a friend is hosting. I was thinking of having an analog phone plugged into a USB modem in a Raspberry Pi that doesn't even produce a dial tone when you pick it up the handset. It'd just go directly into a voicemail prompt. I assume there's a software stack which could accomodate this but I know basically nothing of telephony.

Any suitable projects come to mind which might facilitate this?

1 comments

If you want to use an actual analogue phone, then you'll probably want to connect it to something using an ATA (Analogue Telephone Adapter). Modems are expecting a powered phone line which can be worked around but I wouldn't recommend it (and haven't tried it in decades and don't remember the details).

The ATA converts analogue telephone into SIP, if you then want voicemail recorded on a Pi install FreeSwitch or Asterisk as your voicemail server. The magic you want from the ATA is "Offhook Auto-Dial"; as in, when it detects the handset being picked up (going off-hook) it automagically dials a number for you - in this case your voicemail extension on your Pi based SIP server.

Unless you're specifically trying to relive the analogue days, I'd probably go digital earlier rather than later in the chain (handset to ata, rather than handset to fake phone line, to modem coopted to do something most people aren't) as it'll make things easier and make no difference to the end user.

This might not be the most elegant way, but it's the tools I'm used to using, so :\

Out of curiosity, what's the plan for the recordings after you've made them?

username[at]gmail if you need any specific advice; this sounds weird enough I'm interested and should be easy :)

The Grandstream GS-HT802 has been working for me, for my fax and analog cordless for 3 years now.