You can configure routing in Session Manager by creating regular expressions and associating them with a routing policy.
Regular expression syntax is based on Java syntax. Some of the syntax related rules are:
The asterisk character "*" matches any character string.
The dot character "." matches one character.
The backslash character "\ " makes a character lose its special meaning, if any
Some examples are:
For “www.sipentity.domain.com”, use the string “www\.sipentity\.domain\.com”
For “192.14.11.22”, use string “192\.14\.11\.22”.
The routing policy with a regular expression .*@.*\.de routes all calls requesting a domain in Germany (for example, name@company.de) to a Frankfurt Gateway.