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 141
Chapter 10: Programming Amanda 131 Free disk spaceP[ repetition] (D) %D FrequencyKB( frequency, msecs) From%I( field, msg_no[, mailbox]) GotoG( mailbox) GreetingP[ repetition]( greeting[, mailbox[, hangup]]) Hang-up[ ext_no]H O( time) Hang-up, cleanupH( mailbox) Hang-up, partially supervisedU- ext_no HookflashE F O( time) IfI( value, operator, value, mailbox) Import, file{ file} Information mailboxesM( greeting[# mailbox], repetition, delay) IVR%I( field, msg_no [, mailbox]) Languages,...
Page 142
132 Installing [email protected]/Windows Messages, number%M[( mailbox)] Messages, number of new%N Messages, playing by numberP[ repetition](M n[, mailbox[, hangup]]) Messages, playing new messagesP[ repetition](MN[, mailbox[, hangup]]) Messages, record and send to mailing listKJ( mailbox, list_number[, sender]) Messages, totalP[ repetition](M[, mailbox[, hangup]]) Message count, total for mailbox%M[( mailbox)] P[ repetition] (M[, mailbox[, hangup]]) Message count, new for current user%N Message...
Page 143
Chapter 10: Programming Amanda 133 Pager, wait forW( n,P[, mailbox]) KW[( rings[,P|V])] Partial supervised transferU- ext_no Pauses- , W(n) PesosP[ repetition]( amount,P[, hangup]) Playing, absolute valueP[ repetition]( number,N[, hangup]) Playing, currencyP[ repetition]( amount, currency[, hangup]) Playing, dateP[ repetition]( date,D[, hangup]) Playing, disk spaceP[ repetition](D) Playing, DTMF digitsP[ repetition](R) P[ repetition]( DTMF) Playing, greetingP[ repetition]( greeting[, mailbox[,...
Page 144
134 Installing [email protected]/Windows Port number, current%C Port, transfer code for current%X Previous mailbox%P PromptP[ repetition] ( prompt_no,V[, hangup]) L( file) Pulse dial~ Questions and answersQ({ greeting[# mailbox][,E]}) Read, file{ file} N( file, field, value{, field, variable}) V( file, field, value{, field, variable}[, n]) Recordings, stored as messages or filesKR( file_or_box[, recording_info]) Records, deleteKV( file, field, value) Remote computersS( port,[ string,[ variable],[...
Page 145
Chapter 10: Programming Amanda 135 Space%D P[ repetition](D) SpellP[ repetition](A, string[, hangup]) String, searchKI( target, source, variable) Strings, lengthLEN[ string] Subtract+( variable[, value]) Testing for message notification fileZ[( file)] Time%I( field, msg_no[, mailbox]) P[ repetition]( time,T[, hangup]) Time, connect time%T Time, current%Z Timed break recall~ Tokens, processing@ To n e s01 2 34 5 67 8 9A B CD *# Total messagesP[ repetition] (M[, mailbox[, hangup]]) Transfer code...
Page 146
136 Installing [email protected]/Windows mailbox, previous%P mailbox, total message count%M[( mailbox)] mailbox, value of field%F( field [, mailbox]) Variable fieldP[ repetition](V) %V Va r i a b l e s[( file) ]( file) |( file) +( variable[, value]) =( variable, value[, start, end]) %G0 %G1 %G2 %G3 %G4 %G5 %G6 %G7 %G8 %G9 %S0 %S1 %S2 %S3 %S4 %S5 %S6 %S7 %S8 %S9 %S10 %S11 %S12 %S13 %S14 %S15 %S16 %S17 %S18 %S19 Variables, shiftK
Page 147
Chapter 10: Programming Amanda 137 Alphabetical Token Reference Token SyntaxDescription -Literal that pauses processing for .5 (one-half) second. , Literal that pauses for 2 seconds. Used when dialing an extension or to introduce a pause before processing the next token. NOTE: Be careful not to confuse this comma with the separator found in commands and records. ?( line, file, mailbox) Command that searches the specified file (line by line) for the specified line. The line must match an entire line...
Page 148
138 Installing [email protected]/Windows [( file) Command that reads the first line in the specified file as the first ten port variables (%S0- %S9). The 10 values in the file must be comma delimited. The first value is %S0, the second is %S1, etc. The quotation marks used to delimit strings do not appear in the file, but the commas that separate them from the other variables do. For example, empty strings take up no space in the file. This command is usually used with the ]() command to keep track...
Page 149
Chapter 10: Programming Amanda 139 ]( file) Command that writes the values of the first 10 port variables (%S0–%S9) to the specified file. The values are comma-separated and terminated by a carriage return/linefeed. Usually used in conjunction with the [() command which reads the %S variables. fileA string or variable containing a valid DOS file name for the text file to be written to. When you specify a file name, its full path is required unless the file is stored in the directory for the current...
Page 150
140 Installing [email protected]/Windows |( file) Command that appends the first ten %S port variables (%S0–%S9) to the specified file. If the file does not exist, Amanda creates it. The values are comma-separated and terminated by a carriage return/linefeed. fileA string or variable containing a valid DOS file name for a text file. Use the complete path to the file unless the file is in C:\AMANDA. Example: |(C:\\AMANDA\\PORTVARS.TXT) causes Amanda to add a line to PORTVARS.TXT. You can use this to...