112
Installing [email protected]
M(greeting
[#mailbox],
repetition,
delay)
When Amanda processes this command, she plays the specified greeting and waits for a
single DTMF digit to be pressed by the caller. Amanda immediately finds the matching
menu selection and continues processing at the specified mailbox. This eliminates the
normal delay for determining that a DTMF entry has been completed.
greeting
One of the seven mailbox greetings (G1–G7). This greeting should be a menu from
which the caller is to make a selection.
mailbox
Optional. Any valid mailbox. The default is the current mailbox.
repetition
The number of times to play the greeting.
delay
The amount of time (in tenths of seconds) to wait before repeating the greeting.
This command is used only in Extension fields.
Examples:
M(G1,2,20)
Amanda plays Greeting 1 twice, pausing for two seconds before repeating it. If the caller
presses a DTMF digit, Amanda stops the greeting and uses the caller’s digit to process
the menu.
If the caller makes no selection at all, Amanda continues processing at the next token.
If the caller makes an invalid selection, Amanda restarts the M() command.
If the caller makes a valid selection (for example 5), Amanda immediately continues
processing at the mailbox specified in the
Menu
field 5.
M(G1#111,2,30)
plays Greeting 1 from mailbox 111. If there is no response from the caller, Amanda
plays Greeting 1 again after a 3 second pause. If there is still no response, Amanda ex-
ecutes the next token in the Extension field.
Failure:
Invalid mailbox
%N
System variable that contains the number of new messages for the current mailbox. Each
port has its own %N.
Example:
P(
%N,N)
causes Amanda to say the number of new messages as a number.
N(file,field,
value,field,
varable})
Command that searches the specified file for
all
the records that match the specified val-
ue. This command changes the values in up to 8 fields in each matching record using
the values stored in the specified variables. If no matching records are found, Amanda
continues processing the next token. See also the V() command.
file
A string or variable containing a valid DOS file name for the text or DBF file. Use the
complete path to the file unless the file is in C:\AMANDA. No line in the file should ex-
ceed 143 characters. There is no limit to the number of lines in the file.
field
A number, string, or variable that indicates the number or name of a field. The first
field
indicates what field to compare with
value
; the additional (up to 8)
field
s indicate what
fields to change. Each field is changed to the value of its corresponding variable. (.DBF
files have field names; text files have field numbers.)
value
A string or variable that contains the data to be compared with the contents of the spec-
ified field.
variable
One of port or global variables.
Example:
N("C:\\LISTS\\PHONE.LST",1,"RYAN GIGGS",3,%S1,2,%S2)
finds all records in the file "PHONE.LST" that have "RYAN GIGGS" in the first field
and replace the contents of field 2 with the value of %S2 and the contents of field 3 with
the value of %S1. Numbers are used for the fields because PHONE.LST is a text file.
Failure:
Specified file does not exist
Value of field not found within the file
Alphabetical Token Reference (Continued)
Token Syntax
Description
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...