(Most of the answers you will find here are taken from the - now
unfortunately outdated - vbox manual by
email@example.com; you can get the manual at:
- click on "Audio!" (still in German we're afraid - sorry...) They are currently very outdated, but may give you a few hints?
A newer place has now come up as a place for further vbox development.
Please check it out:
There are several scripts available to be used in connection to vbox,
but the author is not up to date. Here is the latest one I received
Please send me information if you know more helpful links, or howtos,
or whatever useful...
Also please note the documentation in the kernel source package:
You can get the format from the messages with rmdgetheader. The samples messages in the packages are recorded using format 4 (the latest Zyxel-Compression)
First call yourself on the number you configured vboxgetty to answer and leave a message. Then rename the message to *.msg (standard.msg for the main answering message) and copy it to the directory where all the messages are kept (usually /var/spool/vbox/user/messages where user is the user for which vboxgetty is configured). You can also record a message using a microphone and the soundcard.
This is best achieved with vbox using format 6 (uLaw - must be compiled in). You can then easily play the messages using:
cat xxx /dev/audio
The standard tool for converting all sound formats is SOX. SOX is available as source code for both UNIX and DOS. You can get it at:
(including sources that compile under Linux).
We receive the following tip form Christian Stueble
firstname.lastname@example.org on 15 Jan 1997:
For me, the following (somewhat indirect) method works:
sox file.wav -r 8000 file.ul rate rmdcatheader -u file.ul file.msg cat file.ul file.msg
You can adjust the parameters DTMF_TRESH, SILENCE_TRESH, and H2_TRESH in file
linux/drivers/isdn/isdn_audio.c. A DTMF tone is recognized
if the amplitude of the correct frequency is larger than DTMF_TRESH
and the amplitude of the second harmonian frequency is smaller than
If a dial tone is recognized when no dialing took place, try to increase
DTMF_TRESH and/or decrease H2_TRESH. However, test with many
telephones - the current parameters were already set after some tuning.
Probably you need a patch that has been posted recently (8th December 1999) on the mailing list.
vboxgetty needs ".vboxrc" in the home directory of the user for which vboxgetty is configured. The number of rings is taken from this file.
Vboxgetty can play all formats. You can copy the message as the standard message (standard.msg in the messages directory) and call yourself, the message will be played then. (Don't forget to copy back the original message when you are done :-) ). See question audio_recordmsg.
This is a known bug that occurs when switching between the playing of the announcement and recording the message. Up to now there is no known workaround.