To start configuring raccess4vbox3, change to that directory now:
# cd /var/spool/vbox/<user>/
Each section contains a variable number of lines with up to three tokens separated by whitespaces; tokens including whitespaces must be quoted.
Empty lines and lines starting with a ; (semicolon) are ignored.
variable | description | default |
---|---|---|
echo_path | The path to the echo binary | /bin/echo |
say | disable or enable speech systhesis on the fly (0=off, 1=on) | 0 |
say_path | The path to the text2speech program (if say is set) | |
say_flag | Optional arguments to be passed to the text2speech program | |
say_maxfilenamelen | The maximum file name length (wihtout extension) to be used for cached audio files | 16 |
[dtmf] 8 "repeat" {repeat} 0 "skip" {skip}See DTMF actions for details on these entries.
variable | audio-file | description |
---|---|---|
error | "error-msg" | The audio-file "error-msg" will be played if an error occures. |
See DTMF actions for details on audio-file.
run <mode>where <mode> is the name of a raccess4vbox3 mode; for running an answering machine with remote access through touchtones, this is:
run answeringmachine
These config files are similar to the ./raccess.conf config file. Each of these config files contain three sections: [dtmf], [events] and [run].
See the descriptions of the raccess.conf config file for the sections [dtmf] and [events]. Previously defined dtmfs and events can be overwritten; they are restored when the mode is finished.
function | arguments | description |
---|---|---|
record | on | off | enables or disables recording of the audiostream |
do | n | n is an integer; repeat all following functions n times |
play | string | string is a string; play the audio file(s) defined by string |
wait | n | n is an integer; wait silently n seconds |
This is an example for the sysinfo mode:
[run] record off do 100 play "sysinfo-mode & ready & help" wait 10
If the correspnding DTMF-sequence is entered during the call, raccess4vbox3 plays the audio-file and then performs the action.
If audio-file starts with a &, the filename is treated as an absolute path name.
If audio-file starts with a |, the filename is treated as an absolute path name and must refer to a program. raccess4vbox3 starts this program and treats each line of the standard output of this program as an audio-file.
The audio-file token may contain the special character & not at the beginning. raccess4vbox3 then will split the token into parts, refering to audio-files and plays them in order. The skip action would skip the whole playback than, not only the current audio-file.
action | description |
---|---|
run <mode> | enter the mode <mode> |
raccess_quit | leave the current mode |
skip | skip the playback of the current audio-file |
repeat | start again the playback of the current audio-file |
hangup | simply hangup and end the voice call |
play <audio-file> | play the audio-file <audio-file> |