TANDBERG Gatekeeper User Guide
Page 57 of 105
13.5.2. 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.
<cpl>
<incoming>
<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>
</incoming>
</cpl>
13.5.3. Call redirection
This example redirects all calls to user barney to voicemail.
<cpl>
<incoming>
<address-switch field="destination">
<address is="barney">
<location clear="yes" url="barney@voicemail">
<proxy/>
</location>
</address>
<otherwise>
<proxy/>
</otherwise>
</address-switch>
</incoming>
</cpl>
13.5.4. Call screening based on alias
In this example, user ceo will only accept calls from users vpsales, vpmarketing or vpengineering.
<cpl>
<incoming>
<address-switch field="destination">
<address is="ceo">
<address-switch field="origin">
<address regex="vpsales|vpmarketing|vpengineering">
<proxy/>
</address>
<otherwise>
<reject/>
</otherwise>
<not-present>
<reject/>
</not-present>
</address-switch>
</address>
</address-switch>
</incoming>
</cpl>