Cisco Cisco Expressway 维护手册

下载
页码 365
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 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:
 
Show CPL XSD file: displays in your browser the XML schema used for the CPL script.
 
Show CPL Extensions XSD file: displays in your browser the XML schema used for additional CPL 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.
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.
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.
144
Cisco Expressway  Administrator Guide