I want to use my Linux box for voicemail. I believe this is done using mgetty / vgetty to answer the phone after a few rings, and that it should be possible to get it to play then an audio file of the outgoing message ("sorry, I'm not here right now") and record another one for incoming messages.
The documentation on vgetty is sparse &/or 404ing, but I have installed an internal modem in my machine & started following the modem-HOWTO at <http://www.tldp.org/HOWTO/Modem-HOWTO.html>. In section 2.4 it starts by discussing the IO address and IRQ & mentions that a Plug&Play BIOS can do this. I believe that the following output indicates that this has been done successfully:
# cat /proc/pci
PCI devices found:
...
Bus 0, device 13, function 0:
Communication controller: Conexant HCF 56k Data/Fax/Voice Modem (rev 8).
IRQ 11.
Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0x42100000 [0x4210ffff].
I/O at 0x2020 [0x2027].
...
Section 1.9 of the modem-HOWTO then says:
For PnP modems: If the BIOS has already set these in the physical device
(which a PnP BIOS will do if it thinks you don't have a PnP OS) then you need
to determine the IRQ and IO address and then tell this to "setserial".
Could someone explain how I should do this, please..?
The physical serial ports on the motherboard seem to have been allocated correctly at boot up:
# dmesg | grep tty
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
But there are no other /dev/ttyS slots available: # ls /dev/ttyS* /dev/ttyS0 /dev/ttyS1 # setserial /dev/ttyS2 /dev/ttyS2: No such file or directory
How do I create one, please..?
Many thanks in advance for any help or comments. I would be particularly interested to hear from anyone else who is using vgetty to answer the phone.
Stroller.
-- [EMAIL PROTECTED] mailing list
