Chapter 11: Programming Amanda
113
O(time)
Command that makes Amanda go on-hook for the specified amount of time. Depending
upon the value used, you can cause a hookflash or a hang-up. This is particularly useful
for generating an intermediate hang-up condition during token processing without ter-
minating the actual continued token processing. See also the H() command.
time
A number in tenths of seconds or a variable containing that number.
Example:
O(20)
causes Amanda to go on-hook for two seconds.
Failure:
Does not fail
%P
System variable that contains the previous mailbox, that is, the last mailbox accessed be-
fore 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 transferred to
that extension. As mailbox 222 is accessed, %U becomes 222, and %P becomes 990.
P[repetition]
(date,D)
Command that tells Amanda to say the specified number as a date.
repetition
The number of times to repeat the date. The default is 1.
date
A number in either of the following formats: MMDDYY (which assumes the year
19YY,) or MMDDYYYY. For dates after 1999, you must use MMDDYYYY.
Despite this format, the date is read in the order that most speakers of the prompt lan-
guage (specified using the Setup utility) expect to hear it. If the year is the current
year, Amanda does not read the year.
Example:
P(06261994,D)
causes Amanda to say "June twenty-sixth, nineteen ninety-four"
Failure:
Does not fail
P[repetition]
(amount,
currency)
Command that tells Amanda to say the specified number as an amount of money.
repetition
The number of times to repeat amount. The default is 1.
amount
A number from 0 to 999 million.
currency
Use one of the following:
$
For dollars and cents.
F
For francs and centimes.
P
For pesos and centavos.
Example:
P(06261994,$)
cause Amanda to say "Sixty-two thousand six hundred nineteen dollars and ninety-four
cents"
Usually when using
F
or
P
, the system language is French or Spanish. However, the
monetary terms are always available, regardless of the system language.
Failure:
Does not fail
Alphabetical Token Reference (Continued)
Token Syntax
Description
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...