Home > Amanda > Communications System > Amanda Work Group Manual

Amanda Work Group Manual

Here you can view all the pages of manual Amanda Work Group Manual. The Amanda manuals for Communications System are available online for free. You can easily download all the documents as PDF.

Page 161

Chapter 10: Programming Amanda 151
KR(
file_or_box
[,
recording_info])
 Command that makes a recording and stores it as either a file or a message for the specified 
mailbox.
file_or_boxA string or variable indicating where the recording is to be stored. It contains either 
a mailbox indicating whose message it is or a valid DOS file name. Use the 
complete path to the file unless the file is in C:\AMANDA. 
recording_infoA number from 0 to 3 indicating whether the caller hears a beep (to start recording)...

Page 162

152 Installing [email protected]/Windows
KV(
file,
field,
value) Command that finds and deletes the first record in the specified file that has the specified 
value in the specified field.
fileA 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 
exceed 143 characters. There is no limit to the number of lines in the file.
fieldA number, string, or variable that indicates the number or...

Page 163

Chapter 10: Programming Amanda 153
LEN[
string] Assumes the value of the total number of characters within a string or digits within a 
number.
stringAny string, number, or variable.
N
OTE:
The brackets in this syntax are bold. The brackets are a required part of the syntax 
whenever you use LEN. Be careful not to confuse them with the non-bold brackets that 
indicate that the syntax within the brackets is optional.
Example:
LEN[7145551212]
assumes the value 10.
I(LEN[%S1],=,4,%S1)
checks the length of...

Page 164

154 Installing [email protected]/Windows
N(
file,
field,
value 
{,
field,
variable
})Command that searches the specified file for all the records that match the specified 
value. 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.
fileA string or variable containing a valid DOS file name for the text or DBF file. Use the...

Page 165

Chapter 10: Programming Amanda 155
P[
repetition]
(
amount,
currency
[,
hangup]) Command that tells Amanda to say the specified number as an amount of money.
repetitionThe number of times to repeat amount. The default is 1. 
amountA number from 0 to 999 million. 
currencyUse one of the following:
$For dollars and cents.
FFor francs and centimes.
PFor pesos and centavos.
hangupOptional. The number 1 or 0 indicating how to process a hangup. The 1 means that the 
processing of this token ends. 0 means that...

Page 166

156 Installing [email protected]/Windows
P[
repetition]
(A,
string
[,
hangup]) Command that tells Amanda to say the characters in the specified string. For a space, 
Amanda says the word “space”.
repetitionThe number of times to repeat the contents of the string. The default is 1. 
stringA string of letters from the alphabet and spaces. 
hangupOptional. The number 1 or 0 indicating how to process a hangup. The 1 means that the 
processing of this token ends. 0 means that the processing of this token...

Page 167

Chapter 10: Programming Amanda 157
P[
repetition]
(M
n[,
mailbox
[,
hangup]]) Command that tells Amanda to play the message with the specified number for the 
specified or current mailbox.
repetitionThe number of times to repeat the message. The default is 1. 
nThe number of the message to be played. 
mailboxOptional. Any valid mailbox or a variable containing a mailbox. The default is the 
current mailbox. 
hangupOptional. The number 1 or 0 indicating how to process a hangup. The 1 means that the...

Page 168

158 Installing [email protected]/Windows
P[
repetition]
(
prompt_no,V
[,
hangup]) Command that tells Amanda to look for the specified prompt number in the current 
system language file. Then Amanda plays the prompt associated with that number.
repetitionThe number of times to repeat the prompt. The default is 1.
prompt_noThe number or variable containing the number for the prompt. The current range is 
from 1 to 477. (For some languages, some of the prompt numbers reference blank 
messages.)...

Page 169

Chapter 10: Programming Amanda 159
P[
repetition]
(X,
file
[,
hangup]) Command that tells Amanda to play a voice file.
repetitionThe number of times to repeat the contents of the file. The default is 1. 
fileA string or variable containing the name of a voice file. Use the complete path to the 
file unless the file is in C:\AMANDA. The file can be one recorded using the KR() 
command, an Amanda message file, or a voice file copied to the Amanda system. 
However, the copied file must have the same...

Page 170

160 Installing [email protected]/Windows
%RSystem variable (the relay variable) that contains the DTMF digits entered by the caller 
who requested relay paging notification. Each port has its own %R. This is primarily 
used to send up to 16 digits of information to a user’s pager/beeper.
This token is used only in Notify Method fields. 
Example:
9,%VW(9,V)P(U)P(R)
causes Amanda to call someone at home and say the telephone number and other 
information in the relay variable.
R(
greeting
[#
mailbox],...
Start reading Amanda Work Group Manual

Related Manuals for Amanda Work Group Manual

All Amanda manuals