TANDBERG D14049.01 User Manual
![TANDBERG](https://files.manualsbrain.com/attachments/2e94c0c0fc1423c430b44e9f893dbf3606a13c5f/common/fit/150/50/14f48e802483c9fe5812f2859ae84911947e8ea16d58bc29fa149be36931/brand_logo.png)
D 14049.01
07.2007
07.2007
75
TANDBERG
VIDEO COMMUNICATION SERVER
ADMINISTRATOR GUIDE
Text goes here
TANDBERG
VIDEO COMMUNICATION SERVER
ADMINISTRATOR GUIDE
CPL Reference
Change of Domain Name
In this example, Example Inc has changed its domain from
example.net
to
example.com
. For a
period of time some users are still registered at
example.net
. The following script would attempt to
connect calls to
user@example.com
first and if that fails then fallback to
example.net
.
<?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 regex=”(.*)@example.com”>
<proxy>
<failure>
<location clear=”yes” regex=”(.*)@example.com” replace=”\1@
<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 regex=”(.*)@example.com”>
<proxy>
<failure>
<location clear=”yes” regex=”(.*)@example.com” replace=”\1@
example.net”>
<proxy/>
</location>
</failure>
</proxy>
</address>
</address-switch>
</taa:routed>
</cpl>
<proxy/>
</location>
</failure>
</proxy>
</address>
</address-switch>
</taa:routed>
</cpl>
CPL Examples
Call Screening Based on Domain
In this example, user
fred
will not accept calls from anyone at
annoying.com
, or from any
unauthenticated users. All other users will allow any calls.
<?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=”fred”>
<address-switch field=”origin” subfield=”host”>
<address subdomain-of=”annoying.com”>
<reject/>
</address>
<otherwise>
<proxy/>
</otherwise>
<not-present>
<reject/>
</not-present>
</address-switch>
</address>
</address-switch>
</taa:routed>
</cpl>
<?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=”fred”>
<address-switch field=”origin” subfield=”host”>
<address subdomain-of=”annoying.com”>
<reject/>
</address>
<otherwise>
<proxy/>
</otherwise>
<not-present>
<reject/>
</not-present>
</address-switch>
</address>
</address-switch>
</taa:routed>
</cpl>