Cisco Cisco TelePresence Video Communication Server Expressway 관리 매뉴얼
190
D14049.08
November 2010
November 2010
Grey Headline (continued)
CISCO TELEPRESENCE
VIDEO COMMUNICATION SERVER
ADMINISTRATOR GUIDE
CPL reference
Reject attempts to subscribe to a presentity
In this example, attempts to subscribe the presence of user@example.com are rejected.
<?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 origin=".*" destination="user@example.com"
message-regex="^SUBSCRIBE.*">
<!-- Cannot subscribe to user@example.com -->
<!-- Reject call with a status code of 403 (Forbidden) -->
<reject status="403" reason="Denied by policy"/>
</taa:rule>
</taa:rule-switch>
</taa:routed>
</cpl>
<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 origin=".*" destination="user@example.com"
message-regex="^SUBSCRIBE.*">
<!-- Cannot subscribe to user@example.com -->
<!-- Reject call with a status code of 403 (Forbidden) -->
<reject status="403" reason="Denied by policy"/>
</taa:rule>
</taa:rule-switch>
</taa:routed>
</cpl>
CPL examples