Q-103.045
variables for the allocation of received messages


Frage
Problem variables for the allocation of received messages
Produkt David
Priorität none
Effekt harmless
Datum 10.12.2002

Antwort
For the creation of individual allocation norms there are a range of variables available. These variables can also be used for collecting lists and forwardings.The syntax for the appeal of these Variables works as follows:

variablesyntaxvalue
SUBJECTsubject
FROMsender adress resp. CSID/CLI
TOrecipients adress resp. destination number
USERLachman, IngoDvISE ID of the quoted user (it is the
quote show name )
GROUPDvISE ID of the quoted group (it is the
quote show name )
ROOTpath to the DvISE Root-directory incl. server name
(e.g. SERVERNAME\DAVID)
Archivepath to the Archive Root directory incl. server name.
MAILNAMEuser identification of the email adress (the part
in front of the '@' symbol)
DOMAINdomain name of the email adress (the part
behind the '@' symbol)
DOCTYPEdocument type as figure
(0=fax, 2=email, 3=TMail, 4=voice mail,
5=ext., 6=adress, 7=SMS, 9=DvDFML)
PORTnumber of the DvISE ports, where
the message had been received from
MAPPINGsets the allocate identification of the message
on any string

It is also possible, to extract part strings out of the concerning variable contents.Therefore it is necessary to indicate the start position and the end position resp. the number of symbols that need to be read, directly(numeration of figures start with 0). The contents of the variable FROM will be analysed within the following examples.Of course also other variables can be appointed instead (e.g. SUBJECT or TO).

Parameterreturn value
all figures from position 0 to position 5
all figures from position 2 till the end
accurately two figures beginning with position 4
the last 3 figures
all figures from position 1 till the end

If the variable indication is missing, generally the allocate identification (Routing ID) will be analysed.

Further on there is the possibility, to define a certain figure sequence as start or end position for the readout of a part string out of the contents of a variable. This figure chain is to be indicated in quotation marks ("). If it is assigned as the first parameter,it will mark the beginning of the part string that needs to be read. If the indication occurs as the second parameter, it will appoint its end. Examples:

Parameterreturn value
The first 3 figures of the domain name out of the
sender adress of an email
all figures of the recipients adress till the '@' symbol

advice:
You can receive further information about the subject »allocation among DvISE« inKnowledgeBase article 103.041.