# CSCF Translation Configuration Mode Commands

The CSCF Translation Configuration Mode is used to configure session re-addressing within the system.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
after

Places the CSCF translation entry at the bottom or end of the translation list. Use this command in conjunction with the uri-readdress command.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    after

Usage:

Add this command before the uri-readdress command to place the entry at the end of the translation list.
before

Places the CSCF translation entry at the top or beginning of the translation list. Use this command in conjunction with the uri-readdress command.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    before

Usage:

Add this command before the uri-readdress command to place the entry at the beginning of the translation list.
end

Exits the current mode and returns to the Exec Mode.
Product:

All
Privilege:

Administrator
Syntax

    end

Usage:

Change the mode back to the Exec mode.
exit

Exits the current mode and returns to the previous mode.
Product:

All
Privilege:

Administrator
Syntax

    exit

Usage:

Return to the previous mode.
uri-readdress

Configures readdress criteria for URI translations.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator
Syntax

    uri-readdress type trans_type [ log ]  { base-criteria criteria } [ filter-criteria1 criteria ] [ filter-criteria2 criteria ]no uri-readdress type trans_type { base-criteria criteria }  [ filter-criteria1 criteria ] [ filter-criteria2 criteria ]

no

Remove the readdress configuration.
type trans_type

Specifies that the translation list (trans_type) entry is to be identified as one of the following:

blocking-cid: Identifies the translation list entry type as “call ID blocking”.

cancel-blocking-cid: Identifies the translation list entry type as “cancel call ID blocking”.

cancel-cid: Identifies the translation list entry type as “cancel call ID display”.

cancel-cw: Identifies the translation list entry type as “cancel call-waiting”.

cfbl-off: Identifies the translation list entry type as “call forward busy line off”.

cfbl-on: Identifies the translation list entry type as “call forward busy line on”.

cfna-off: Identifies the translation list entry type as “call forward no answer off”.

cfna-on: Identifies the translation list entry type as “call forward no answer on”.

cfu-off: Identifies the translation list entry type as “call forward unconditional off”.

cfu-on: Identifies the translation list entry type as “call forward unconditional on”.

cid: Identifies the translation list entry type as “call ID display”.

cw-off: Identifies the translation list entry type as “call-waiting off”.

cw-on: Identifies the translation list entry type as “call-waiting on”.

directory-assistance: Identifies the translation list entry type as “directory assistance”.

emergency: Identifies the translation list entry type as “emergency”.

international: Identifies the translation list entry type as “international”.

local: Identifies the translation list entry type as “local”.

long-distance: Identifies the translation list entry type as “long-distance”.

none: Identifies the translation list entry type as “any”.

operator-assistance: Identifies the translation list entry type as “operator assistance”.

premium-service: Identifies the translation list entry type as “premium service”.

service: Identifies the translation list entry type as “special service”.

tollfree: Identifies the translation list entry type as “toll free”.
log

Enables logging for CSCF sessions meeting the readdress criteria for URI translations.
base-criteria criteria
Specifies the base criteria that packets will be compared against. The following criteria is supported:

- any: Filters all CSCF sessions.
- destination aor aor: Filters sessions based on the destination AoR. aor must be an existing AoR from 1 to 79 characters in length.

IMPORTANT:

AoR regular expressions are supported. Refer to the SCM Engineering Rules Appendix in the Session Control Manager Administration Guide for more information about regular expressions.

- plmn-id mcc mcc_code mnc mnc_code: Filters sessions based on the mobile country and network codes. mcc_code must be a three-digit integer from 200 to 999. mnc_code must be either a two or three-digit integer from 00 to 999 or any (any MNC code).
- source address ip_address: Filters sessions based on source IP address. ip_address must be expressed in dotted decimal notation for IPv4 or colon notation for IPv6.
- source aor aor: Filters sessions based on the source AoR. aor must be an existing AoR from 1 to 79 characters in length.

filter-criteria1 criteria
Specifies the filter criteria that packets that have passed the base criteria will be compared against. The following criteria is supported:

- any: Filters all CSCF sessions.
- destination aor aor: Filters sessions based on the destination AoR. aor must be an existing AoR from 1 to 79 characters in length.

IMPORTANT:

AoR regular expressions are supported. Refer to the SCM Engineering Rules Appendix in the Session Control Manager Administration Guide for more information about regular expressions.

- plmn-id mcc mcc_code mnc mnc_code: Filters sessions based on the mobile country and network codes. mcc_code must be a three-digit integer from 200 to 999. mnc_code must be either a two or three-digit integer from 00 to 999 or any (any MNC code).
- source address ip_address: Filters sessions based on source IP address. ip_address must be expressed in dotted decimal notation for IPv4 or colon notation for IPv6.
- source aor aor: Filters sessions based on the source AoR. aor must be an existing AoR from 1 to 79 characters in length.

filter-criteria2 criteria
Specifies the filter criteria that packets that have passed the base criteria and filter criteria1 will be compared against. The following criteria is supported:

- any: Filters all CSCF sessions.
- destination aor aor: Filters sessions based on the destination AoR. aor must be an existing AoR from 1 to 79 characters in length.

IMPORTANT:

AoR regular expressions are supported. Refer to the SCM Engineering Rules Appendix in the Session Control Manager Administration Guide for more information about regular expressions.

- plmn-id mcc mcc_code mnc mnc_code: Filters sessions based on the mobile country and network codes. mcc_code must be a three-digit integer from 200 to 999. mnc_code must be either a two or three-digit integer from 00 to 999 or any (any MNC code).
- source address ip_address: Filters sessions based on source IP address. ip_address must be expressed in dotted decimal notation for IPv4 or colon notation for IPv6.
- source aor aor: Filters sessions based on the source AoR. aor must be an existing AoR from 1 to 79 characters in length.

Usage:

Use this command to readdress URIs based on specified criteria and enters the URI Readdress Configuration Mode. Readdressing can be used for:

- Mobility: When roaming in a visited domain.
- Service Aliases: Resolving well-known addresses via SIP-AS.
- Number Translation: Adding or deleting prefixes such as +1 to/from PSTN numbers.
- Voice VPNs: Using inter-office extensions to dial remote offices.

Entering this command results in the following prompt:

    [context_name]hostname(config-uri-readdress)#

URI readdress commands are defined in the CSCF URI Readdress Configuration Mode Commands chapter of this reference.
Example:
The following command readdresses sessions to a domain named service.com, filters sessions with a base criteria of the source address (1.2.3.4) and a filter criteria of the destination AoR ($.@test.com):

    uri-readdress type service
    base-criteria source address 1.2.3.4 filter-criteria1 destination
    aor $.@test.com