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 201
Chapter 15: Programming Amanda 189 For example, I(%S1,=,,101) can be read as “If the variable %S1 equals the empty string, go to mailbox 101. If not, go to the next token in this mailbox.” I(%G0,>,5,2000) can be read as “If the variable %G0 is greater than 5, go to mailbox 2000. If not, go to the next token in this mailbox.” 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 variables.) There is...
Page 202
190 Installing [email protected] T1 Lines If you are using a T1 line, the only tokens you can use are: Any DTMF digit (0–9, A, B, C, D, # , *) Any system, port, or global variable (any token that starts with %) E F P W Examples This section provides practical examples using some of the available tokens. Customizing the Employee Directory The default operation of the employee directory minimizes the work you have to do as a system administrator. All you have to do is put values in the Dir Name 1...
Page 203
Chapter 15: Programming Amanda 191 3. Amanda reads the extension for each person whose name matches the digits. 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...
Page 204
192 Installing [email protected] 2. Determine what three digits would match each name: Example: Steve Forest mailbox 105 783 367 JoAnn Johnson mailbox 106 562 564 Bob Knapp mailbox 107 262 562 3. Create mailboxes for each of the sets of three-digits. Example: Create mailboxes 783, 367, 562, 564, and 262. 4. For each of these mailboxes, make sure that: Do Not Disturb is locked OFF. (Do Not Disturb: OFF Lock: ON) Call screening is locked OFF. (Screen Calls? OFF Lock: ON) 5. Fill in the Extension fields for...
Page 205
Chapter 15: Programming Amanda 193 6. For mailboxes that match more than one of the employees: a. Record G1 (Greeting 1) as “For first matching name, press 1; for second matching name, press 2; …” substituting the real names of employees for the italicized words. b. In the Menus fields, put the mailbox for the first matching name in 1; the mailbox for the second in 2, and so forth. c. In the Extension field, puts: @M(G1,1,30) This command causes Amanda to play Greeting 1 and waits for the caller to...
Page 206
194 Installing [email protected] 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 any of the people mentioned in the greeting, he can try an- other name. Token Reference This section contains two tables, each of which lists all of the tokens in the Token Programming Language: A quick token reference table, which...
Page 207
Chapter 15: Programming Amanda 195 Caller hang-upH( mailbox) Caller ID%H Comment%F( field[, mailbox]) ConditionI( value, operator, value, mailbox) Conference callext_noKM Creating message notification fileX [( file) ] CurrencyP [ repetition]( amount, currency[, hangup]) Current connect time%T Current date in American format%Y Current port number%C Current time%Z Current mailboxP [ repetition] (U [, mailbox[, hangup]]) %U Current mailbox’s Extension field%E Date%I( field, msg_no[, mailbox]) P [...
Page 208
196 Installing [email protected] dial tone%X dial tone, wait forW( n,T [, mailbox]) Directory Name field%F( field[, mailbox]) Disk space%D P [ repetition](D) DollarsP [ repetition]( amount, currency[, hangup]) DTMF digitsP [ repetition]( DTMF) P [ repetition](R) 0123 4567 89AB CD*# DTMF for relay pagingP [ repetition] (R) %R DTMF, save caller’s entryR( greeting[# mailbox], variable [, timeout[, timeout2]]) Earth recallE Exit for caller hang upH( mailbox) Exit for mailbox[ ext_no]H...
Page 209
Chapter 15: Programming Amanda 197 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, information%I( field, msg_no[, mailbox]) Files, append|( file) Files, as...
Page 210
198 Installing [email protected] Files, read{ file} V( file, field, value{, field, variable}[, n] [( file) N( file, field, value{, field, variable}) Files, search?( line, file, mailbox) Files, voiceP [ repetition](X, file[, hangup]) Files, write]( file) N( file, field, value{, field, variable}) FrancsP [ repetition]( amount, currency[, hangup]) Free disk spaceP [ repetition] (D) %D FrequencyKB( frequency, msecs) From%I( field, msg_no[, mailbox]) GotoG( mailbox) GreetingP [ repetition](...