Cisco Cisco Expressway Maintenance Manual

Page of 391
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.
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:
147
Cisco Expressway Administrator Guide
Dial Plan and Call Processing