Cisco Cisco Expressway Maintenance Manual
Viewing existing CPL script
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.
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.
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 Expressway without editing it, the Expressway will recognize the file and automatically
add each rule back into the
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 Expressway. The
Call Policy configuration
page
allows you to download the XML schemas which are used to check scripts that are uploaded to the
Expressway. You can use the XSD files to check in advance that your CPL script is valid. Two download
options are available:
Expressway. 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 Expressway.
elements supported by the Expressway.
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 Expressway polls for CPL script changes every 5 seconds, so the Expressway will almost immediately
start using the updated CPL script. CPL scripts cannot be uploaded using the command line interface.
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.
file.
Configuring Call Policy to use an external service
To configure Call Policy to refer all policy decisions out to an external service:
1. Go to
Configuration > Call policy > Configuration
.
2. Select a Call Policy mode of Policy service.
3. Configure the fields that are presented as follows:
Cisco Expressway Administrator Guide (X8.5)
Page 164 of 394
Dial plan and call processing
About Call Policy