(Most of the answers you will find here are taken from the - now
unfortunately outdated - vbox manual by
Matthias Hessler
hessler@isdn4linux.de
and
Bernhard Hailer
dl4mhk@lrz.uni-muenchen.de
; you can get the manual at:
http://www.lrz-muenchen.de/~ui161ab/www/isdn/
- click on "Audio!" (still in German we're afraid - sorry...) They are currently very outdated, but may give you a few hints?
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
information about:
http://members.myworld.at/mren/vbox4php.html
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:
/usr/src/linux/Documentation/isdn/README.audio
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:
http://www.powerweb.de/mpeg/util/msdos/sox10c.zip
(including sources that compile under Linux).
We receive the following tip form Christian Stueble
stueble@ls6.informatik.uni-dortmund.de
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
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.