Amanda Work Group Installation Manual
Here you can view all the pages of manual Amanda Work Group Installation Manual. The Amanda manuals for Communications System are available online for free. You can easily download all the documents as PDF.
Page 241
Chapter 15: Programming Amanda 229 %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 242
230 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 243
Chapter 15: Programming Amanda 231 %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 244
232 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...
Page 245
Chapter 15: Programming Amanda 233 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 246
234 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 247
Chapter 15: Programming Amanda 235 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 248
236 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...
Page 249
Chapter 15: Programming Amanda 237 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.) hangupOptional....
Page 250
238 Installing [email protected] P[ repetition] (U[, mailbox [, hangup]]) Command that tells Amanda to play the Name/Extension recording of the specified or current mailbox. If there is no recording, Amanda says “mailbox,” followed by the digits for the mailbox. See also P[repetition](N[,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....