I can confirm that the Zoom 3095 works with Ubuntu with no drivers required. I have been using one with a desktop Linux box for over a year. With Caller ID I turn on the modem signal for non-white listed numbers, and for people on the white-list I turn off auto-answer so my regular answering machine picks up. I haven't dealt with the voice part yet or tried it with a RPi but I will soon. I also use espeak to announce the caller name for those occasions when I'm home when the phone rings.walney wrote:cinetron said:
I'm thinking of building a PI based telephone answering machine to cut my teeth on the Raspberry PI. Thinking of using a USB based voice modem and something like vgetty . Does anyone have any advice on this such as recommendations of a voice modem that would work. Thanks
If you have a look in AT +V or #V command reference documentation for Conexant-based modems the relevant commands are listed. If you go with a hardware serial-port modem rather than a winmodem then you shouldn't have any compatibility/driver issues, since you can just drive them with AT commands (but you will need a serial port). Have a look at the docs for Multitech MT5600ZDX or MT5656ZDX – they even have some examples. You will need a serial port for the pi though. The Zoom 3095 is a USB modem that might work, but that really depends on driver compatibility (I have one, so I am going to test it with a pi …sometime )
Edit: Look at p.28-29 of http://www.multitech.com/en_US.....00098C.pdf
...and in the past I've managed pick them up for £0.99 off ebay
Sorry, don't know anything about the status of this project, but the Pi could play back, if you want. Connect buttons to the GPIO and use a script to monitor them and fire off whatever functions they represent. Use a speaker like this one which will also fit in the answering machine case.It seems the Pi would be compact enough the project could even be housed in an old answering machine case. (ie. I don't expect to playback from the PI but from something on my net - pc or maybe even phone or tablet.)
I am going to give your modified code a try. I have been using Jcblock for a year now on my RPI with no problems, except the option in the code that allows someone to add a number to the blacklist via the telephone didn't work because the ALSA software doesn't see the modem as a PCM device. I hope your code corrects this.guiseppi wrote:For the Caller ID based call blocking, also known as telemarketing or junk call blocking, the program called jcblock (Junk Call Blocker) compiles and works on the Pi with a bit of code modification probably required so your modem hangs up properly. I had to add a routine to allow sending commands to the modem without expecting a timely response (+++) otherwise it would hang after a call, and set a jumper to hang up on escape before it worked at all, but ymmv. You should find the jcblock code quite easily. Read the code remarks carefully and probably change the makefile and remove the defines for unrequired features. I removed all three.
I attach my modified jcblock.c and makefile. Hope this is OK.
Like I say, the only problem I had with the code was to answer and hang up the modem reliably, so search "+++"... Some additional libs may be needed, this is all explained in the readme.