⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 voice.conf

📁 embedded xLinux root 5.4
💻 CONF
📖 第 1 页 / 共 2 页
字号:
## Sample voice configuration file# -------------------------------## $Id: voice.conf-dist,v 1.9 2001/02/24 10:59:34 marcs Exp $## This file is read twice: First the program configuration is read and# second the port configuration. This means that generic values at the# beginning of the file will override program values on the second read.# So if you want to make a generic value program dependant, remove it# from the generic part of the config file.## Watch out! Some options in this file are not yet implemented or only# available with some modems.### Generic default values# ----------------------#part generic## Possible log levels are:## L_FATAL    0# L_ERROR    1# L_AUDIT    2# L_WARN     3# L_MESG     4# L_NOISE    5# L_JUNK     6#voice_log_level 4# Where stderr of the voice shell script should go.# %s will be replaced by the tty name (like for the vgetty/mgetty log).# If not defined, stderr goes to the modem.voice_shell_log "/var/log/vgetty_voice_shell.%s"## Primary voice directory for vgetty.#voice_dir /var/spool/voice## incoming messages are owned by "root.phone" and mode "rw-rw----" (0660)#phone_owner rootphone_group uucpphone_mode 0660## Location of the flag file for new incoming messages relative to the# primary voice directory.#message_flag_file .flag## Location where vgetty stores the incoming voice messages relative to# the primary voice directory.#receive_dir incoming## Directory containing the messages for vgetty (greeting, handling the# answering machine) relative to the primary voice directory.#message_dir messages## Name of the file in MESSAGE_DIR that contains the names of# the greeting message files (one per line, no white space).#message_list Index## Filename of a backup greeting message in MESSAGE_DIR (used if# the random selection fails to find a message).#backup_message standard.rmd## Default port speed. The bps rate must be high enough for the compression# mode used. Note that this is an integer, not one of the Bxxxx defines.# Basically you should select the highest possible speed your modem and# computer support. The default value is 38400.# For V 250 compatibel modems you get the supported speeds with the command# AT+IPR=? (with a terminal program like minicom)# (AT+IPR=0 means autobauding, don't set any other value!)## WARNING: if you use vgetty, this MUST be the same value as the#          setting of "speed <n>" in mgetty.config.  If you change one,#          change the other one as well!#port_speed 38400## Default shell to invoke for shell scripts. Make sure this shell# understands things like funtions, because the scripts rely on this.# The default is "/bin/sh"#voice_shell /bin/sh## Default port timeout in seconds for a read or write operation. The# default value is 10 seconds.#port_timeout 10## Default timeout for a dialout in seconds. The default value is 90 seconds.#dial_timeout 90## Delay before sending a new voice command to the modem in milliseconds.# The default is 100 milliseconds.#command_delay 100## Minimum length of detected DTMF tones, in milliseconds. This is# currently only supported by ZyXel modems with a ROM release of 6.12# or above. The default is 30 milliseconds.#dtmf_len 30## DTMF tone detection threshold in percent (0% to 100%). Increase this# if the modem erroneously detects DTMF tones, decrease it if it fails to# detect real ones. This is currently only supported by ZyXel modems# with a ROM release of 6.12 or above. The default is 40%.#dtmf_threshold 40## Time to wait for a DTMF tone to arrive when recording or waiting# for DTMF input in seconds. The default is to wait for 7 seconds.#dtmf_wait 7## In Australia the frequency of the busy signal is the same as the# frequency of the fax calling tone. This causes problems on at least# some modems. They report a fax calling tone, when there is a busy# signal in reality. To help those user, vgetty will ignore any fax# calling tone detected by the modem, when this option is set.## The following companys suffer from this problem:# - Telstra (formerly Telecom Australia)# - Optus# - Austel (regulatory authority)## The default is of course off.#ignore_fax_dle false## Output recorded voice samples without header and expect raw voice# data on input for playback. This feature is turned off by default.# Don't enable it unless you really know, what you are doing!#raw_data false## This is the default compression mode for vgetty for incoming voice# messages and for the recording option of vm. The mode 0 is a special# mode, that will automatically choose a sane default value for every# modem. The default is 0.#rec_compression 0## This is the default recording speed for vgetty for incoming voice# messages and for the recording option of vm. It is the number of samples# per second. The speed 0 is a special speed, that will automatically# choose a sane default value for every modem. The default is 0.#rec_speed 0## Silence detection length in 0.1 seconds. If the modem detects silence# for this time, it sends a silence detect to the host. Default is# 7 seconds (70 * 0.1 seconds).#rec_silence_len 70## Silence detection threshold in percent (0% to 100%). Increase this value# if you have a noisy phone line and the silence detection doesn't work# reliably. The default is 40%.#rec_silence_threshold 40## If REC_REMOVE_SILENCE is enabled, the trailing silence of an incoming# voice message as detected by the modem will be deleted. This might# cause you to miss parts of a message if the silence threshold is# high and the caller is talking very quietly. To be on the safe side,# don't define this. This feature is turned off by default.#rec_remove_silence false## Maximum recording length in seconds. Hang up if somebody talks# longer than this. Default is 5 minutes (300 seconds).# If this is set to zero, disables recording.#rec_max_len 300## Minimum recording length in seconds. Some modems can not detect# data or fax modems, so we use the recording time, to decide,# what it is. This feature is by default disabled.#rec_min_len 0## Enable hardware flow in record and playback mode if the modem# supports it. This option is by default on.#do_hard_flow true## Frequency for the beep command in Hz. The default is 933Hz.#beep_frequency 933## Length for the beep command in msec. The default is 1.5 seconds# (1500 * 0.001 seconds).#beep_length 1500## Number of tries to open a voice modem device. The default is 3.#max_tries 3## Delay between two tries to open a voice device in seconds. The default# is 5 seconds.#retry_delay 5## Default timeout for the voice watchdog. If this timer expires, the# running program will be terminated. The default is 60 seconds.#watchdog_timeout 60## Some modems support setting the receive gain. This value can be set in# percent (0% to 100%). 0% is off, 100% is maximum. To use the modem# default value set this to -1. The default is -1.#receive_gain -1## Some modems support setting the transmit gain. This value can be set in# percent (0% to 100%). 0% is off, 100% is maximum. To use the modem# default value set this to -1. The default is -1.#transmit_gain -1## Usually command echo from the modem should be enabled. Since some modems# sometimes forget this echo, it is disabled by default. Turning this option# off makes things more reliable, but bugs are much harder to trace. So# don't ever think about mailing me a bug report with command echo turned# off. I will simply ignore it. The default is to disable command echo.#enable_command_echo false## Time in msec for the delay, when no new data are received from the modem. A higher value will decrease# machine load by increasing vgettys reaction time. The default is 10 msec.#poll_interval 10## The ML 56k Office, Internet (I), pro and Basic # with actual firmware support 2 commandsets:# The one in Elsa.c wich is autodetected and# the ITU V253 (if you say TRUE here for this modems you also have to set# rec_speed 7200)# Default is FALSE#forceV253 FALSE#

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -