Answering machine software for linux?

Status
Not open for further replies.

phreak0ut

The Thread Killer >:)
I have got an application running under to answer my phone in case I'm not at home, on Windows. I wish to run a similar application on my linux box to do the same thing. I'm currently running SuSE 10.2, but if that application is able to run all the distros, that would be great. I've Googled a lot, but I've not found a single hit on this. If anyone of you can suggest me an application for this, I would be really glad.

Thanks in advance.
 

desertwind

Cyborg Agent
You don't need a special package for that. mgetty, which might be installed by default will do the trick for you. If not, install mgetty using whatever package manager you use.

edit the following file

Code:
/etc/mgetty+sendfax/voice.conf

edit the following four parameters

voice_dir - Point this to the directory that holds your answering machine message as well as your incoming messages.

rings 3 - Replace the 3 with the number of rings after which the phone is picked up.

voice_devices - Add the device where your modem is connected. COM1 would be ttyS0, COM2 would be ttyS1, and so on.

port ttyS0 - Put in the port on where your modem connects.

Open /etc/inittab and append the following line

Code:
S1:23:respawn:/usr/local/sbin/vgetty ttyS0

replace ttyS0 with the correct port your modem is connected to.

Now you need a recorder rmd file

connect your mic and run the following command

Code:
vm record standard.rmd

If you already have a recorded message (only mono recording), you need to convert it to rmd.

Code:
wavtopvf filename.wav | pvfspeed -s 7200 | pvftormd Rockwell 4 > standard.rmd

copy the rmd file to /var/spool/voice/messages

now run the following command

Code:
init q

all the recorded incoming calls will be under /var/spool/voice/incoming

to hear in phone

Code:
vm play filename

to play in PC speaker

Code:
rmdtopvf filename.rmd | pvfspeed -s 8000 | pvftobasic > /dev/audio

Extracted from: *www.freeos.com/articles/3715/
__________
phreak0utt said:
I've Googled a lot, but I've not found a single hit on this.

A simple query like "answering machine +linux" gave me hundreds of results.

*www.google.co.in/search?q=answering+machine++linux
 
Last edited:
OP
phreak0ut

phreak0ut

The Thread Killer >:)
Wow!! That's great!! I'll be installing that and will keep you posted regarding that. I see that it is command based. I'll search a gui for that as well. Thanks a lot!! Rep added ;)
 
OP
phreak0ut

phreak0ut

The Thread Killer >:)
I tried this command wvdialconf test.conf to know to which COM port my modem is connected, but I'm getting the following output:

Scanning your serial ports for a modem.

Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
ttySHSF0<Info>: Device or resource busy
Port Scan<*1>: SHSF0
ttyS0<Info>: Device or resource busy
Port Scan<*1>: S0
ttyS1<Info>: Device or resource busy
Port Scan<*1>: S1
ttyS2<Info>: Device or resource busy
Port Scan<*1>: S2
ttyS3<Info>: Device or resource busy
Port Scan<*1>: S3
ttyS4<Info>: Device or resource busy
Port Scan<*1>: S4
ttyS5<Info>: Device or resource busy
Port Scan<*1>: S5
ttyS6<Info>: Device or resource busy
Port Scan<*1>: S6
ttyS7<Info>: Device or resource busy
Port Scan<*1>: S7
ttySHSF1<Info>: Device or resource busy
Port Scan<*1>: SHSF1
ttySHSF2<Info>: Device or resource busy
Port Scan<*1>: SHSF2
ttySHSF3<Info>: Device or resource busy
Port Scan<*1>: SHSF3
ttySHSF4<Info>: Device or resource busy
Port Scan<*1>: SHSF4
ttySHSF5<Info>: Device or resource busy
Port Scan<*1>: SHSF5
ttySHSF6<Info>: Device or resource busy
Port Scan<*1>: SHSF6
ttySHSF7<Info>: Device or resource busy
Port Scan<*1>: SHSF7


Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at *open.nit.ca/wvdial/

If you still have problems, send mail to wvdial-list@lists.nit.ca

The modem is installed and actually being detected by KPPP. It also dial to the net. Then how come this command is showing that no modem is detected??:!: I would like to know to which COM port my modem is connected. More help here please.
 

mehulved

18 Till I Die............
It's not saying modem is not detected, it's saying modem is being used by another program.
 

desertwind

Cyborg Agent
If it's an internal modem, then it'll be a pain configuring.

since your /dev/modem links to ttySHSF0, it will be your modem port. try with that.

But since you installed the drivers from linuxant, i'm not sure whether it'll work or not.
 
OP
phreak0ut

phreak0ut

The Thread Killer >:)
Hmmmmm..... I'll try with ttySHSF0. Even I have a nagging feeling that it won't work as the driver from linuxant doesn't mention about enabling the voice support of the modem :(
 

eureca_eureca

In the zone
i have never used linux but tried few things on win xp , but never with an internal modem , an external modem can show the caller id and with the right software can do diffrent work like an answering machine ...me too searching for a good software
 
OP
phreak0ut

phreak0ut

The Thread Killer >:)
Your modem is able to show the caller ID? I heard that though modems supports(mine does) it depends upon the provider to decide upon that. Somehow, caller ID doesn't work on my internal modem.....that's on XP
 

eureca_eureca

In the zone
MY modem is D link DFM 562 e++ with bsnl connection it shows the incoming call no. not all softwares but only phone tray dialup worked out
i forgot the exact AT commands i think its at+vcid=1 ...i would like to know which internal modem u are using ...and which software u used to get the caller id information , hope u are using win xp
 
Status
Not open for further replies.
Top Bottom