Cisco Cisco Expressway 维护手册

下载
页码 365
Delete uploaded file. Doing so will delete the existing Call Policy that was put in place using a CPL script, and enable 
use of the Call Policy rules page for Call Policy configuration.
Each rule specifies the Action to take for all calls from a particular Source alias to a particular Destination alias. If you 
have more than one rule, you can Rearrange the order of priority in which these rules are applied.
If rules are not configured, the default policy is to allow all calls, regardless of source or destination.
The configurable options are:
Field
Description
Usage tips
Source 
pattern
The alias or IP address that the calling endpoint used to identify itself when 
placing the call. If this field is blank, the policy rule applies to all incoming calls 
from unauthenticated users, meaning calls where the endpoint making the call 
is not registered and authenticated to a neighbor which in turn has 
authenticated with the local Expressway.
This field supports 
Destination 
pattern
The alias or IP address that the endpoint dialed to make the call.
This field supports 
Action
Whether or not a call that matches the source and destination is permitted.
Allow: if both the Source and Destination aliases match those listed, call 
processing will continue.
Reject: if both the Source and Destination aliases match those listed, the call 
will be rejected.
 
Rearrange
Each combination of Source and Destination is compared, in the order shown 
on the Call Policy rules page, with the details of the call being made until a 
match is found, at which point the call policy is applied. To move a particular 
item to higher or lower in the list, thus giving the rule a higher or lower priority, 
click on the   and   icons respectively.
 
Click on the rule you want to configure (or click New to create a new rule, or click Delete to remove a rule).
Configuring Call Policy Using a CPL Script
You can use CPL scripts to configure advanced Call Policy. To do this, you must first create and save the CPL script 
as a text file, after which you upload it to the Expressway. However, due to the complexity of writing CPL scripts you 
are recommended to use an external 
 instead.
For information on the CPL syntax and commands that are supported by the Expressway, see the 
 section.
Viewing existing CPL script
To view the Call Policy that is currently in place as an XML-based CPL script, go to the 
 page 
(Configuration > Call Policy > Configuration) and click Show Call Policy file.
 
If Call Policy is configured to use a CPL script, this shows you the script that was uploaded.
 
If Call Policy is configured by the Call Policy rules page, this shows you the CPL version of those call policy 
rules.
 
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.
143
Cisco Expressway Administrator Guide