Amanda Work Place Instructions Manual
Here you can view all the pages of manual Amanda Work Place Instructions Manual. The Amanda manuals for Communications System are available online for free. You can easily download all the documents as PDF.
Page 91
Chapter 11: Programming Amanda 83 For example, the following is the syntax for %I: Syntax: %I( field, msg_no[, mailbox]) %I() has three parameters: field, msg_no and mailbox. Because the %I and parentheses are bold, you know that you have to include them in the command. The commas are bold, but the one in front of mailbox is inside brackets […], which surround optional parts of the syntax. If you use the bracketed part of the syntax, you must use the comma. Because field is italicized, you know that...
Page 92
84 Installing [email protected] Because msg_no is also italicized, you know that it is a place holder for information that you must provide. For example, to find out the date for message number 8, you replace msg_no with the number 8. Because mailbox is inside brackets, you replace it only if you use that part of the syntax. For example, you may want to delete a message belonging to mailbox 151. Whenever a parameter is optional, such as mailbox, it has a default. A default is the value that is used...
Page 93
Chapter 11: Programming Amanda 85 record in a database for any company that sends you supplies. The individual parts of your name and address are fields of that record. In a database, another name for a record is a row, and another name for a field is a column. Sample Address Record: First Name: MARY Last Name: HU Street Address: 28291 HOOVER ST. City: WINTER FALLS State: MI Zip: 48444 Text files that contain database records should have commas separating each field of each record and a carriage...
Page 94
86 Installing [email protected] The G() command which tells Amanda to go to another mailbox’s Extension field right now. (Notice that this is not the same as the %G0 through %G9 global vari- ables.) There is no comparison made—just an immediate branch to a new mail- box. For example, G(2000) can be read as “Go immediately to mailbox 2000.” A loop is the name given to a set of tokens that are repeated. For example, if the last token in the Extension field for mailbox 151 is G(151), Amanda returns to...
Page 95
Chapter 11: Programming Amanda 87 4. The caller dials the correct extension. The customized use of the employee directory: 1. A caller enters 411 for the employee directory. 2. The caller enters three digits representing the first three letters in either the first or last name of the person he wants to call. 3. If more than one employee matches the digits, Amanda asks the caller to choose. For example, Amanda might say “For Steve Smith, press 1; for Stella Clark, press 2.” 4. Amanda dials the...
Page 96
88 Installing [email protected] 5. Fill in the Extension fields for mailboxes that only match one of the employees with @G( employee_mailbox) Example: Because 783 and 367 match Steve Forest, the Extension fields for mailbox 783 and mailbox 367 should be: @G( 105) Because 564 matches JoAnn Johnson, the Extension field for mailbox 564 should be: @G( 106) Because 262 matches Bob Knapp, the Extension field for mailbox 262 should be: @G( 107) or @P(G1)P(N, 107)G( 107) 6. For mailboxes that match more than...
Page 97
Chapter 11: Programming Amanda 89 If the matching digits conflict with existing mailboxes (for example, 564 matches JoAnn Johnson, but it is already the mailbox for another em- ployee), use 99564 or some other variation that does not conflict with employee mailboxes. When more than one employee matches the digits that the caller enters, you can add 9 to the menu (with mailbox 411) and append the greeting to end with: “…press 9 to return to the employee directory.” Then, if the caller doesn’t want...
Page 98
90 Installing [email protected] Current date in American format%Y Current port number%C Current time%Z Current mailboxP [ repetition] (U [, mailbox]) %U Current mailbox’s Extension field%E Date%I( field, msg_no[, mailbox]) P [ repetition]( date,D) %Y Days of week%W Deleting fileY [( file) ] Deleting, messageKD( msg_no[, mailbox]) Dial (pulse dial)~ Dial codesF dial tone%X dial tone, wait forW( n,T [, mailbox]) Directory Name field%F( field[, mailbox]) Disk space%D P [ repetition](D) DollarsP [...
Page 99
Chapter 11: Programming Amanda 91 Extension fieldext_no @ %E *Extensions, partially supervised transferU- ext_no Fax, incremental( file) Fax, initialization%A Fax, receiveJ( file_or_box, phone_no[, tokens]) Fax, sendT( file, phone_no[, tokens]) Fields, process extension or Notify field as tokens@ Fields, returns number of characters in a stringLEN[ string] Fields, values in mailbox record%F( field [, mailbox]) Fields, Variable field in notification record%V Fields, Extension %E Fields,...
Page 100
92 Installing [email protected] Files, write]( file) N( file, field, value{, field, variable}) FrancsP [ repetition]( amount, currency) Free disk spaceP [ repetition] (D) %D FrequencyKB( frequency, msecs) From%I( field, msg_no[, mailbox]) GotoG( mailbox) GreetingP [ repetition]( greeting[, mailbox]) Hang-up[ ext_no]H O( time) Hang-up, cleanupH( mailbox) Hang-up, partially supervisedU- ext_no HookflashF O( time) IfI( value, operator, value, mailbox) Import, file{ file} Information mailboxesM(...