# CSCF URI Readdress Configuration Mode Commands

The URI Readdress Configuration Mode is used to set URI translations.

IMPORTANT:

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

Adjusts a target address to route sessions to appropriate locations.
Platform:

ASR 5000
Product:

SCM
Privilege:

Administrator, Config-administrator
Syntax

    action { add string | delete num_chars | modify string } position num target { destination | source } { aor | domain | user }no action

add string | delete num_chars | modify string

add string: Adds a specified string to a location indicated by the position keyword for the targeted source or destination address component (aor, domain, or user). string must be from 1 to 79 alpha and/or numeric characters.

delete num_chars: Deletes a number of characters starting from a location specified by the position keyword for the targeted source or destination address component (aor, domain, or user). num_chars must be an integer from 1 to 79.

modify string: Modifies a specified string in a location starting with the position keyword for the targeted source or destination address component (aor, domain, or user). The number of characters in the string variable will replace the same number in the address. string must be from 1 to 79 alpha and/or numeric characters.
position num

Specifies the position in the target string where the action is to occur. num must be an integer from 1 to 79.
target { destination | source }

Species that the action is to occur within the source or destination address.
aor | domain | user

aor: Specifies that the action is applied to AoRs in the targeted source or destination address.

domain: Specifies that the action is applied to domains in the targeted source or destination address.

user: Specifies that the action is applied to users in the targeted source or destination address.
no

Disables target address to route sessions.
Usage:

Use this command to manipulate SIP packets matching the criteria in the uri-readdress command.
Example:
The following command prepends a “+1” to a destination AoR:

    action add +1
    position 1 target destination aor

The following command removes the first two characters from the destination AoR:

    action delete 2 position
    1 target destination aor

The following command replaces characters 2 through 4 with the characters “abc” in the destination AoR:

    action modify abc position
    2 target destination aor

end

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

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.