Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3869

Other projects • Re: General advice building another lennytroll

$
0
0
Glub0x,

I have a land line and I to have to live with numpties calling most days wanting my money. To this end and a few years back I did a Pi based caller line number decoder thingy that monitors my calls checking for known numbers and suppressing repeat time wasters. It generated HTML log pages to display what's going on and provides a web based control interface back to the running program.

My thing uses a USB sound dongle to listen for the FSK packets that package the caller's phone number and other detail. I used the Alsa libriary to read the audio blocks into my C coded program and a software FSK demod found on Github. Having sort-of exhausted most of the clever things to add someone pointed me towards Lenny Troll. 'Lenny' is on my list of To-Dos.

Lenny simply detects speech or maybe just audio activity, and responds with one of 16 canned WAV files of increasing banality when the rogue caller pauses. Rogue callers being any number either not in my friends phonebook , with held numbers or those confirmed as rouges from previous calls/web look-ups achieved simply through the web interface.

Just thinking about using a mobile phone to do a Lenny Troll could be as simple as using newer the Pi's Bluetooth support (or perhaps older Pi with Bluetooth USB dongle) to connect and manage the entire call. Certainly if one can connect a set of Bluetooth headphone to a Pi going the extra distance and processing audio coming the other way should be achievable.

The learning curve as ever will be steep but just part of the adventure looking back.

Statistics: Posted by RaspISteve — Thu Apr 04, 2024 10:04 pm



Viewing all articles
Browse latest Browse all 3869

Trending Articles