Amanda Work Group 7xx Installation Manual
Here you can view all the pages of manual Amanda Work Group 7xx Installation Manual. The Amanda manuals for Communications System are available online for free. You can easily download all the documents as PDF.
Page 211
Chapter 11: Programming Amanda 199 KS [( errorlevel) ] Command that starts a system shutdown immediately. errorlevelOptional. Specifies the exit code (a DOS errorlevel) at which the sys- tem exits. The default exit code (errorlevel) is zero. This command is used only in Extension fields. Example: KS(3)immediately shuts down the system, exiting with the errorlevel set to 3. The error- level can be used by another program or a DOS batch file to determine what action should be taken next. Failure:...
Page 212
200 Installing [email protected] L( file) Command that immediately changes the system prompts to use the specified Amanda system language file. This changes the system prompts, but the greetings of the individual mailboxes might need to be recorded by the users in the new lan- guage. fileA string or variable containing the name of a valid Amanda system lan- guage file (minus the .IDX extension and the DOS path). Amanda knows that the system language file names end in .IDX and are located in the...
Page 213
Chapter 11: Programming Amanda 201 %M [( mailbox) ] Command that returns the total number of messages for the specified or current mailbox. Each port has its own %M. mailboxOptional. A valid mailbox or a variable containing a mailbox. The default is the current mailbox. Example: %M(321) contains the number of messages stored for mailbox 321. Failure: Invalid mailbox M( greeting [#mailbox ], repetition, delay) When Amanda processes this command, she plays the specified greeting and waits for a...
Page 214
202 Installing [email protected] %NSystem 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, 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...
Page 215
Chapter 11: Programming Amanda 203 %PSystem variable that contains the previous mailbox, that is, the last mailbox access- ed before the current mailbox. Each port has its own %P. See also %U (current mailbox). Example: While accessing mailbox 990, %U is 990. Then a caller enters 222 and is trans- ferred to that extension. As mailbox 222 is accessed, %U becomes 222, and %P be- comes 990. P[repetition] (date,D [,hangup]) Command that tells Amanda to say the specified number as a date. repetitionThe...
Page 216
204 Installing [email protected] 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 the...
Page 217
Chapter 11: Programming Amanda 205 P[repetition] (time,T [,hangup]) Command that tells Amanda to say the specified number as a time of day. repetitionThe number of times to repeat the contents of the port variable. The default is 1. timeA number or variable containing a number that specifies a time in the 24-hour HHMM format. However, Amanda says the time in a 12-hour format, followed by A.M. or P.M. hangupOptional. The number 1 or 0 indicating how to process a hangup. The 1 means that the...
Page 218
206 Installing [email protected] P[repetition] (greeting [,mailbox [,hangup]]) Command that tells Amanda to play the specified greeting for the specified or current mailbox. repetitionThe number of times to repeat the greeting. The default is 1. greetingOne of the seven mailbox greetings (G1–G7). 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 219
Chapter 11: Programming Amanda 207 P[repetition] (Mn[,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 220
208 Installing [email protected] P[repetition] (N[,mailbox [,hangup]]) Command that tells Amanda to play the Name/Extension recording of the specified or current mailbox. If there is no recording, nothing is played. See also P[repetition](U[,mailbox]). repetitionThe number of times to repeat the Name/Extension recording. The default is 1. 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...