Chapter 11: Programming Amanda
103
%F(field
[,mailbox])
System variable that contains the value of the specified field for the specified mailbox.
Each port has its own %F.
field
One of the following numbers or a variable containing that number:
1
for the Directory Name 1 field
2
for the Directory Name 2 field
3
for the Comment field
mailbox
Optional. Any valid mailbox or a variable containing a mailbox. The default is the
current mailbox.
Example:
%F(3,126)
assigns the string from the Comment or Set Name field for mailbox 126 to %F.
Failure:
Invalid mailbox
F
Literal that performs a hookflash. The duration of the hookflash is specified in the tele-
phone switching system dial codes section of the Setup utility. See also recall.
Failure:
Does not fail
%G0
%G1
%G2
%G3
%G4
%G5
%G6
%G7
%G8
%G9
The Amanda system has 10 global variables (%G0–%G9). Initially, each variable is
equal to the empty string. The values of %G0–%G9 are the same no matter what port is
current.
If Port 1 changes %G1, then all other ports immediately see the new value for %G1. Each
variable can contain a string of up to 143 characters.
When the system is shut down, the values of %G0–%G9 are lost. They cannot be stored
using the [(), ](), or |() commands.
See also %S0–%S9.
Example:
+(%G0)
adds one to the current value of %G0.
=(%G2,555)
assigns the mailbox 555 to %G2.
G(%G2)
causes Amanda to go to the Extension field for mailbox 555.
Failure:
Invalid variable name (such as %G52)
G(mailbox)
Command that controls processing. Amanda continues standard processing at the spec-
ified mailbox’s Extension field (as shown in
Administering [email protected]
).
mailbox
A valid mailbox or a variable containing a mailbox.
N
OTE
:
If you use the G() command in a Notify Method field, remember that the tele-
phone port is still in Notify mode and cannot transfer a call. Therefore, the Ex-
tension field that you go to should start with an @.
Example:
G(176)
causes Amanda to go to the Extension field for mailbox 176.
Failure:
Invalid mailbox
%H
System variable that contains the empty string unless your 1001.PBX file (in the
C:\PBX.DB directory) is set up for ANI or (in the future) Caller ID digits. Each port has
its own %H.
Example:
If 1001.PBX contains:
integration 10 'Cxxxxxxxccccccc'
and the packet 'C00000007530414' arrives, %H contains the number 7530414 as long
as the port that received the call is active.
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...