TANDBERG Security Camera Restricting Access to a Local Gateway, Using the address-switch node

Models: Security Camera

1 247
Download 247 pages 11.75 Kb
Page 179
Image 179

Grey Headline (continued)

CPL Reference

TANDBERG VIDEO COMMUNICATIONS SERVER ADMINISTRATOR GUIDE

CPL Examples

Restricting Access to a Local Gateway

In these examples, a gateway is registered to the VCS with a prefix of 9 and the administrator wants to stop calls from outside the organization being routed through it.

We can do this in two ways: using the address-switchnode or the rule-switchnode. Examples of each are shown below.

Using the address-switch node

<?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="9(.*)">

<address-switch field="originating-zone">

<!-- Calls coming from the traversal zone are not allowed to use this gateway -->

<address is="TraversalZone">

<!-- Reject call with a status code of 403 (Forbidden) --> <reject status="403" reason="Denied by policy"/>

</address> </address-switch>

</address> </address-switch>

</taa:routed>

</cpl>

Using the rule-switch node

<?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> <taa:rule-switch>

<taa:rule originating-zone="TraversalZone" destination="9(.*)"> <!-- Calls coming from the traversal zone are not allowed to use

this gateway -->

<!-- Reject call with a status code of 403 (Forbidden) --> <reject status="403" reason="Denied by policy"/>

</taa:rule>

<taa:rule origin="(.*)" destination="(.*)"> <!-- All other calls allowed --> <proxy/>

</taa:rule> </taa:rule-switch>

</taa:routed>

</cpl>

Introduction

Getting Started

 

Overview and

 

System

 

VCS

 

Zones and

 

Call

 

Bandwidth

 

Firewall

 

Maintenance

Appendices

 

Status

 

Configuration

 

Configuration

 

Neighbors

 

Processing

 

Control

 

Traversal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D14049.03

 

 

 

 

 

 

 

 

179

 

 

 

 

 

 

 

MAY 2008

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page 179
Image 179
TANDBERG Security Camera Restricting Access to a Local Gateway, Using the address-switch node, Using the rule-switch node