Cisco Cisco Expressway Maintenance Manual

Page of 473
Configuring a search rule to direct a search to the policy service
 
1.
Go to Configuration > Dial plan > Search rules.
 
2.
Click New.
 
3.
Configure the fields on the Create search rule page as appropriate for the searches you want to direct to the 
external policy server.
This example shows how to divert calls to aliases ending in .meet to the external policy server:
Rule name
A short name that describes the rule.
Description
A free-form description of the rule.
Priority
As required, for example 10.
Protocol
As required, for example Any.
Source
As required, for example Any.
Request must be 
authenticated
Configure this setting according to your authentication policy.
Mode
As required, for example Alias pattern match.
Pattern type
As required, for example Regex.
Pattern string
As required, for example.*\.meet@example.com
Pattern behavior
As required, for example Leave.
On successful match
As required.
Note that if Stop is selected the Expressway will not process any further search 
rules for the original alias, but will restart the full call processing sequence if any 
new aliases are returned in the CPL.
Target
Select the policy service that was created in the previous step.
State
Enabled
To divert all searches to the policy server you could set up 2 search rules that both target the policy service:
 
The first search rule with a Mode of Any alias.
 
The second search rule with a Mode of Any IP address.
 
4.
Click Create search rule.
The Expressway will direct all searches that match the specified pattern to the policy service server.
Your search rules must be configured in such a way that they will result in a match for the initial alias, and then either 
not match or not return a reject for any aliases to which the policy server has routed the call.
About Call Policy
You can set up rules to control which calls are allowed, which calls are rejected, and which calls are to be redirected 
to a different destination. These rules are known as Call Policy (or Administrator Policy).
If Call Policy is enabled and has been configured, each time a call is made the Expressway will execute the policy in 
order to decide, based on the source and destination of the call, whether to:
184
Cisco Expressway Administrator Guide
Dial Plan and Call Processing