📄 umd.conf.7
字号:
.TH "umd.conf" "8" "1999" "ACS Voice Response" "Open Source Telecom" .PP .SH NAME \fBumd.conf\fP - IVR server and utilities configuration file.SH DESCRIPTION This file, normally found in \fI/etc/umd.conf\fP, holds configurationparamaters that are used by the IVR server and also various utilities.This file is parsed by the OST keydata functions, and is organized in\fB[SECTIONS]\fP denoted with \fB[]\fP's. Lines that are emptyor that start with \fB#\fP are ignored as comments. Most entries are inthe format of \fBkeyword\fP=\fIvalue\fP..SH [PATHS]This section specifies the location of key files and directories for theIVR server and utility applications..TP.B pidfile\fP=\fIprocess-id-file\fPPathname to hold the process id of the IVR server. This can be used byexternal utilities to signal or kill the server..TP.B runfile\fP=\fImemory-map\fPA memory mappable file that holds the running status for each IVRtelephony port. This is dumped by \fBumdstat\fP..TP .B ctrlfile\fP=\fIfifo-commands\fPA named pipe (fifo) used to send commands to the IVR server. The commandsthat may be sent to the IVR fifo are defined in \fBumdctrl\fP.TP.B scripts\fP=\fIscript-directory\fPBase directory for IVR script files..TP.B prompts\fP=\fIprompt-directory\fPBase directory for IVR prompts and prompt libraries either distributedwith ACS or installed by related packages. This should not be confusedwith /fB/var/ACS/fP, where user recorded prompts and mailbox data may beheld..TP.B lockfiles\fP=\fItty-access-lockfile...\fPThis optional feature may be used when IVR ports are sharing a telephoneline with modems managed under mgetty. When the server starts, it willwait for and assert each of the specified lockfiles before it will acceptany telephone calls..TP.B libexec\fP=\fItgi-programs\fPExecution directory for "libexec" script command and "Telephony GatewayInterface" programs..TP.B datafiles\fP=\fIworking-space\fPBase directory for storage of dynamic data such as user recordings,mailboxes, etc. Usually set to \fI/var/ACS/fP..TP.B schedule\fP=\fIschedule-file\fPPath to the IVR scheduling file for script dispatch of incomming callsbased on line, time of day, day of week, etc. This is normally set to\fI/etc/umd.sched\fP..SH [THREADS]This section is used to adjust the behavior of threads within the runningIVR server. Scheduling priorities behave like "nice", where negativevalues increase cpu priority..TP.B priority\fP=\fIthread-priority\fPDefault priority adjustment for threads internally created by the IVRserver. This assumes the main thread and any driver generatedcallback threads already operates under the priority specified by umd atthe command line, or with nice..TP.B scheduler\fP=\fIscheduler-priority\fPSpecify the thread priority adjustment for the IVR scheduler thread. Thescheduler thread is used to periodically reload the \fI/etc/umd.sched\fPfile and evaluate where incoming calls will dispatch. This thread canusually operate at a much lower priority than other services. .TP.B gateways\fP=\fIgateway-pool\fPSpecify the number of simultaneous "shell" invoked Telephony GatewayInterface pooled processes available for concurrent execution. This canbe any number up to the number of active telephony ports in the server.Generally a number smaller than the port capacity is often recommendedboth to control process loading and to limit total system resources neededfor simple applications. Never set below "1" even if no "shell" commandsare used in your scripts..TP.B stack\fP=\fIpages\fPRequest that all memory pages will be locked and specify the size of thestack to use for "testing" to assure sufficient memory exists for futurestack needs, in 1K increments..TP.B service\fP=\fIpriority\fPSpecify the priority level of a service/callback thread. Service callbackthreads are used in some of the platforms to monitor and dispatchtelephony events. Generally you do want to make the service threads runat a higher priority than the default..SH [LDAP]In the future, ACS will use LDAP services to manage mailbox directoriesand perhaps also for message stores. This section simply identifies howto communicate with the LDAP server..TP.B config\fP=\fIconfig-path\fPSpecifies where the LDAP config file is stored..TP.B context\fP=\fIcontext-string\fPSpecifies where on the LDAP tree to "root" and find all ACS relatedentries..TP.B servers\fP=\fIhostnames...\fPSpecifies which hosts (servers) to contact for all LDAP operations..SH [AUDIO]This section controls various internal options related to buffering,recording, and playback of audio data. Some of these options may beserver may only apply to specific IVR servers depending on the hardwareused..TP.B buffers\fP=\fIbimpulse-size\fPSpecifies the "impulse" size of audio buffers. Impulse sizes depend onthe hardware involved. With the Pika, an impulse is a optimized DSPbuffer (returned by PK_AUDIO_BufferSize for the current codec) andgenerally represents 120ms of audio data. A larger buffer size meansthat audio files will be streamed in multiple impulse intervals. Thebuffer size ultimately represents how large each read()/write() call willbe and how often i/o calls will be performed when streaming audio data.For the Pika, a value of 8 represents 1 second..TP.B frames\fP=\fIframe-count\fPThis specifies how many frames of "buffers" will be kept active in memoryfor each streaming session. Frames act as a "sliding window" with buffersspecifying the size of each frame. This allows the realtime DSP subsystemin a threaded system to keep recording input even while the disk i/othread is delayed while performing a read or write call. Frames gaurenteethat audio performance will be smooth and real-time even when disk i/o maylag. A frame value of between 2 and 4 is generally considered acceptable..TP.B min\fP=\fImin-impulses\fPThis specifies the minimum size of a newly recorded audio sample. Anyrecording that is shorter than this minimal size will be discarded. Thisvalue is specified in impulse size, just like for buffers..TP.B trim\fP=\fItrim-size\fPTrimming occurs on a newly recorded audio sample to try and remove a DTMFtone from a DTMF key that may have been pressed to terminate recording.Since DTMF detection is never immediate, part of the keypress would likelyotherwise end up as part of the recording. Similarly, any noise from aline drop will be trimmed. As the value is specified in impulse frames, avalue of 1 trims 120ms from the end of the recorded sample on a Pika card.Generally, trimming should be used for 120ms or less..TP.B timer\fP=\fItimeout-seconds\fPThis is used as a default timeout value in the script interpreter wherea given command that requires some timeout (such as collect for digitcollection) is not provided any value. This is also the default timeoutvalue to use when recording messages..TP.B encoding\fP=\fIcodec\fPSpecify the default data encoding format to use for recording and/orplayback when no format is otherwise specified via the requested filetype extender, or a header (such as sun .au files have). Valid encodingformats include \fIlinear\P (pcm16), \fIpcm\fP (8 bit pcm), \fIg721\fP,\fIg723\fP, \fIalaw\fP, and \fIulaw\fP. The expected default is mu-law..TP.B sampling\fP=\fIsampling-rate\fPSpecify the effective sampling rate to use when no sampling rate isspecified either via the requested filetype extender, or a header (such assun .au files have). Valid sampling rates include 4khz, 6khz, 8khz, and 11khz. The expected default is 8khz..SH [PHONE]This section is used to hold values for Linux /dev/phone devices used bythe umd_phone server. This holds a variety of parameters including therange of devices that umd_phone should use, as well as common propertiesthat may be set for those devices..TP.B prefix\fP=\fI/dev/phone\fPSpecify default prefix path for all "phone" devices. This should normallynot be changed..TP.B first\fP=\fIdevice-number\fPSpecify the first /dev/phone to use when allocating ports for the server.Normally the first device used is /dev/phone0, but if you wish to reservethe first port(s) for another application (such as a QuickNet phonejackused on the same machine) then you can skip to a later device..TP.B lines\fP=\fInumber-of-lines\fPThis specifies the total number of lines that the server should attemptto initialize. It is possible that less lines will be found and installed.It is usually safe to set this number fairly high and let the serverauto-identify what ports are actually available..B wink\fP=\fIwink-duration\fPAllows setting the /dev/phone wink duration to a value other than thedefault of 360 milliseconds. All values are in milliseconds..TP.B depth\fP=\fIbuffers\fPSpecify the number of kernel buffers to apply per audio frame. This valueis used for standard playback and recording. The default value is 2. Ahigh value will increase smoothness of audio, especially for genericrecording of messages and playback of audio prompts..SH [SCRIPT]This section can generally be used to specify runtime "constants" that canbe changed without having to alter scripts. These entries are parsedwhenever a script requests a \fB$keyword\fP option. Things like thenumber of digits used for extension numbers or mailboxes may typicallybe specified here..SH SEE ALSO.BR umd.sched (7) ,.BR umdctrl (8) ,.BR umdstat (8) ,.BR umdstop (8).SH AUTHOR David Sugar (dyfet@ostel.com).PP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -