Ok, I've got the blog post - http://ubuntu.online02.com/node/28
It will at least help you set up events.d stuff.
What you want is vgetty, though:
Code:
sudo apt-get install mgetty mgetty-voice
edit the config (Read through it - I haven't set it up, but there's lots of comments!)
Code:
sudo nano /etc/mgetty/voice.conf
setup events.d so vgetty will run at all time
Code:
sudo nano /etc/event.d/vgetty
Put in the following:
Code:
start on startup
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
respawn
exec /sbin/vgetty /dev/ttyS1 # The serial port your modem is attached to!
And start vgetty:
And start testing!
killing vgetty will reload any configuration changes. Be sure to have some free time when no one will call you - I tied up the phone line for quiet some time getting mgetty to work.
To stop vgetty (if things are going wrong)
Mess around with it and tell me what happens! I would setup my own answering machine, but we already have that service from our telephone provider and others in my household wouldn't approve!
Bookmarks