Allow calls from locally registered endpoints only, Block calls from default zone and default subzone, Text goes here – TANDBERG D14049.01 User Manual

Page 176: Cpl reference

Advertising
background image

D 14049.01
07.2007

76

TANDBERG

VIDEO COMMUNICATION SERVER

ADMINISTRATOR GUIDE

Text goes here

Introduction

Getting

Started

System

Overview

System

Configuration

H.323 & SIP

Configuration

Registration

Control

Zones and

Neighbors

Call

Processing

Firewall

Traversal

Bandwidth

Control

Maintenance

Appendices

TANDBERG

VIDEO COMMUNICATION SERVER

ADMINISTRATOR GUIDE

Appendices

CPL Reference

Allow Calls from Locally Registered Endpoints Only

In this example, the administrator only wants to allow calls that originate from locally registered
endpoints.

<?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=”registered-origin”>
<not-present>
<reject reason=”Only local endpoints can use this Tandberg

VCS”/>
</not-present>
</address-switch>
</taa:routed>
</cpl>

Block Calls from Default Zone and Default Subzone

The same script can be extended to also allow calls from configured zones but not from the Default
Zone or Default Subzone.

<?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=”registered-origin”>
<not-present>
<address-switch field=”originating-zone”>
<address is=”DefaultZone”>
<reject/>
</address>
<address is=”DefaultSubZone”>
<reject/>
</address>
<otherwise>
<proxy/>
</otherwise>
</not-present>
</address-switch>
</taa:routed>
</cpl>

CPL Examples

Advertising