scripts you are recommended to use an external
policy service
instead.
For information on the CPL syntax and commands that are supported by the VCS, see the
CPL reference
[p.366]
section.
Viewing existing CPL script
To view the Call Policy that is currently in place as an XML-based CPL script, go to the
Call Policy
configuration
page (
Configuration > Call Policy > Configuration
) and click
Show Call Policy file
.
n
If Call Policy is configured to use a CPL script, this shows you the script that was uploaded.
n
If Call Policy is configured by the
Call Policy rules
page, this shows you the CPL version of those call
policy rules.
n
If
Call Policy mode
is
On
but a policy has not been configured, this shows you a default CPL script that
allows all calls.
You may want to view the file to take a backup copy of the Call Policy, or, if Call Policy has been configured
using the Call Policy rules page you could take a copy of this CPL file to use as a starting point for a more
advanced CPL script.
If Call Policy has been configured using the
Call Policy rules
page and you download the CPL file and then
upload it back to the VCS without editing it, the VCS will recognize the file and automatically add each rule
back into the
Call Policy rules
page.
About CPL XSD files
The CPL script must be in a format supported by the VCS. The
Call Policy configuration
page allows you
to download the XML schemas which are used to check scripts that are uploaded to the VCS. You can use
the XSD files to check in advance that your CPL script is valid. Two download options are available:
n
Show CPL XSD file
: displays in your browser the XML schema used for the CPL script.
n
Show CPL Extensions XSD file
: displays in your browser the XML schema used for additional CPL
elements supported by the VCS.
Uploading a CPL script
To upload a new CPL file:
1. Go to
Configuration > Call Policy > Configuration
.
2. From the
Policy files
section, in the
Select the new Call Policy file
field, enter the file name or
Browse
to the CPL script you want upload.
3. Click
Upload file
.
The VCS polls for CPL script changes every 5 seconds, so the VCS will almost immediately start using the
updated CPL script. CPL scripts cannot be uploaded using the command line interface.
Deleting an existing CPL script
If a CPL script has already been uploaded, a
Delete uploaded file
button will be visible. Click it to delete the
file.
Cisco VCS Administrator Guide (X8.1.1)
Page 196 of 507
Dial plan and call processing
About Call Policy