Cisco Cisco Expressway Maintenance Manual
Example searches and transforms
You can use pre-search transforms and search rules separately or together. You can also define multiple
search rules that use a combination of Any alias and Alias pattern match modes, and apply the same or
different priorities to each rule. This will give you a great deal of flexibility in determining if and when a target
zone is queried and whether any transforms are applied.
search rules that use a combination of Any alias and Alias pattern match modes, and apply the same or
different priorities to each rule. This will give you a great deal of flexibility in determining if and when a target
zone is queried and whether any transforms are applied.
This section gives the following examples that demonstrate how you might use pre-search transforms and
search rules to solve specific use cases in your deployment:
search rules to solve specific use cases in your deployment:
n
n
n
n
n
n
Filter queries to a zone without transforming
You can filter the search requests sent to a zone so that it is only queried for aliases that match certain
criteria. For example, assume all endpoints in your regional sales office are registered to their local Cisco
VCS with a suffix of @sales.example.com. In this situation, it makes sense for your Head Office
Expressway to query the Sales Office VCS only when it receives a search request for an alias with a suffix of
@sales.example.com
criteria. For example, assume all endpoints in your regional sales office are registered to their local Cisco
VCS with a suffix of @sales.example.com. In this situation, it makes sense for your Head Office
Expressway to query the Sales Office VCS only when it receives a search request for an alias with a suffix of
@sales.example.com
. Sending any other search requests to this particular VCS would take up resources
unnecessarily. It would also be wasteful of resources to send search requests for aliases that match this
pattern to any other zone (there may be other lower priority search rules defined that would also apply to
these aliases). In which case setting On successful match to Stop means that the Expressway will not
apply any further (lower priority) search rules.
pattern to any other zone (there may be other lower priority search rules defined that would also apply to
these aliases). In which case setting On successful match to Stop means that the Expressway will not
apply any further (lower priority) search rules.
To achieve the example described above, on your Head Office Expressway create a zone to represent the
Sales Office VCS, and from the
Sales Office VCS, and from the
Create search rule
page (
Configuration > Dial plan > Search rules >
New
) set up an associated search rule as follows:
Field
Value
Rule name
Regional sales office
Description
Calls to aliases with a suffix of @sales.example.com
Priority
100
Source
Any
Request must be
authenticated
authenticated
No
Mode
Alias pattern match
Pattern type
Suffix
Pattern string
@sales.example.com
Pattern behavior
Leave
On successful match
Stop
Cisco Expressway Administrator Guide (X8.5.1)
Page 153 of 399
Dial plan and call processing
Example searches and transforms