Cpl script actions, 2 cpl script actions, Location – Tandberg Data N3 User Manual
Page 33: Address, Otherwise, Not-present

27
“
display
”
Not defined for any alias types
address
The address construct is used within an address-switch to specify addresses to match. 
Please note that all address comparisons ignore upper/lower case differences so 
“
Fred
”
> will match
“
fred
”
,
“
freD
”
etc.
is=
Selected field and subfield exactly match the given string.
contains=
Selected field and subfield contain the given string. Note: 
The CPL standard only allows for this matching on the 
display subfield; however the Gatekeeper allows it on any 
type of field 
subdomain-of=
If the selected field is numeric (e.g. the
“
tel
”
subfield) then
this matches as a prefix; so
of=”
555
”
> matches
“
5556734
”
etc.
If the field is not numeric then normal domain name 
matching is applied; so 
”
company.com
”
> matches nodeA.company.com etc.
otherwise
The otherwise node will be executed if the address specified in the address-switch was found 
but none of the preceding address nodes matched. 
not-present
The not-present node is executed when the address specified in the address-switch was not 
present in the call setup message. This form is most useful when authentication is being 
used. With authentication enabled the gatekeeper will only use authenticated aliases when 
running policy so the not-present action can be used to take appropriate action when a call is 
received from an unauthenticated user (see example in section 3.11.4). 
3.11.2 CPL Script Actions
location
As the CPL script runs it maintains a list of addresses (H.323 IDs, URLs and E.164 numbers) 
which will be used as the destination of the call if a proxy node is executed. The location node 
allows the location set to be modified so that calls can be redirected to different destinations. 
At the start of script execution the location set is initialized to empty for incoming calls and to 
the original destination for outgoing calls. 
The following attributes are supported on location nodes
Clear = "yes" | "no"
Specifies whether to clear the current location set before 
adding the new location. The default is to append this 
location to the end of the set. 
url=
The new location to be added to the location set. The given 
string can specify a URL (
), H.323 ID or
