Cpl Reference; Overview Of Cpl On The Vcs; Address-Switch; Overview - TANDBERG Video Communication Server Administrator's Manual

Table of Contents

Advertisement

Grey Headline (continued)

CPL reference

Overview of CPL on the VCS

Call Processing Language (CPL) is an XML-based language for defining call handling. This Appendix
gives details of the VCS's implementation of the CPL language and should be read in conjunction
with the CPL standard
RFC 3880 [5]
and the
The VCS supports most of the CPL standard along with some TANDBERG-defined extensions. It
<incoming>
does not support the top level actions
Instead it supports a single section of CPL within a
When Call Policy is implemented by uploading a CPL script to the VCS, the script is checked against
an XML schema to verify the syntax. There are two schemas - one for the basic CPL specification
and one for the TANDBERG extensions. Both these schemas can be
interface
and used to validate your script before uploading to the VCS.
The following example shows the correct use of namespaces to make the syntax acceptable:
<?xml version="1.0" encoding="UTF-8" ?>
<cpl xmlns="urn:ietf:params:xml:ns:cpl"
xmlns:taa="http://www.tandberg.net/cpl-extensions"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd">
<taa:routed>
<address-switch field="destination">
<address is="reception@example.com">
<proxy/>
</address>
</address-switch>
</taa:routed>
</cpl>
Overview and
Introduction
Getting started
status
D14049.05
February 2009
TANDBERG guide to writing CPL
[22].
<outgoing>
and
as described in RFC 3880.
<routed>
section.
downloaded from the web
System
VCS
configuration
configuration

Overview

The

address-switch

node allows the script to run different actions based on the source or
destination aliases of the call. It specifies which fields to match, and then a list of
contains the possible matches and their associated actions.
The
address-switch
has two node parameters:

address

The
address
construct is used within an
the use of Regular Expressions (see the
Valid values are:
is=string
contains=string
subdomain-of=string
regex="regular expression"
All address comparisons ignore upper/lower case differences so
match fred,
freD
etc.
Zones and
Call
Bandwidth
neighbors
processing
control
173
TANDBERG
VIDEO COMMUNICATIONS SERVER
address-switch
field
and subfield.
address-switch
to specify addresses to match. It supports
Regular expression reference
for further information).
Selected field and subfield exactly match the given string.
Selected field and subfield contain the given string.
Note: The CPL standard only allows for this matching on the
display subfield; however the VCS allows it on any type of
field.
If the selected field is numeric (e.g. the tel subfield) then
this matches as a prefix; so
address subdomain-of="555"
matches
If the field is not numeric then normal domain name
matching is applied; so
address subdomain-of="company.com"
nodeA.company.com
etc.
Selected field and subfield match the given regular
expression.
address is="Fred"
Firewall
Applications
Maintenance
traversal
ADMINISTRATOR GUIDE
address
nodes
5556734
etc.
matches
will also
Appendices

Advertisement

Table of Contents
loading

Table of Contents