Adjusts a target address
to route sessions to appropriate locations.
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