Cisco Cisco Expressway Maintenance Manual

Page of 365
Query a Zone for a Transformed Alias
Note that the Any alias mode does not support alias transforms. If you want to always query a zone using a different 
alias to that received, you need to use a mode of Alias pattern match in combination with a regular expression.
You may want to configure your dial plan so that when a user dials an alias in the format 
name@example.com
 the 
Expressway queries the zone for 
name@example.co.uk
 instead. 
To achieve this, from the Create search rule page (Configuration > Dial plan > Search rules > New) set up a search 
rule as follows:
Field
Value
Rule name
Transform to example.co.uk
Description
Transform example.com to example.co.uk
Priority
100
Source
Any
Request must be 
authenticated
No
Mode
Alias pattern match
Pattern type
Suffix
Pattern string
example.com
Pattern behavior
Replace
Replace string
example.co.uk
On successful match Continue
Target zone
Head office
State
Enabled
Query a Zone for Original and Transformed Alias
You may want to query a zone for the original alias at the same time as you query it for a transformed alias. To do this, 
configure one search rule with a Mode of Any alias, and a second search rule with a Mode of Alias pattern match 
along with details of the transform to be applied. Both searches must be given the same Priority level.
For example, you may want to query a neighbor zone for both a full URI and just the name (the URI with the domain 
removed). To achieve this, on your local Expressway from the  Create search rule page (Configuration > Dial plan > 
Search rules > New
) set up two search rules as follows:
Rule #1
Field
Value
Rule name
Overseas office - original alias
Description
Query overseas office with the original alias
Priority
100
Source
Any
Request must be 
authenticated
No
136
Cisco Expressway  Administrator Guide