Session Router Configuration
215
Command
Purpose
Step 1
node
(ctx-cs)[
switch
]#number-
manipulation
name
{cdpn|cnpn}
{add|remove|replace|truncate}
param
Create a number manipulation
function identified by a “speaking”
name. Specify if the function acts on
the CdPN or the CnPN. Specify the
action:
•
add digits in front of number
•
remove number of digits
starting from 1
st
•
replace based on translation
table
•
truncate to last n digits
Step 2
Repeat step 1 to create more than one
number manipulation function
Example: Configure Number Manipulation Functions
Add digits to CdPN: Input: 0319852525 Result: *50319852525
SN[switch]#
number-manipulation CdPNadd0 cdpn add *5
Remove digits from CdPN: Input: 0319852525 Result: 9852525
SN[switch]#
number-manipulation CdPNrm031 cdpn remove 3
Truncate digits of CdPN: Input: 0319852525 Result: 525
SN[switch]#
number-manipulation CdPNtrunc3 cdpn truncate 3
22.7.1 Create a Number Replacement Table
The replace function requires a number translation table. Translation tables are identified by a name
and referenced in the Number Translation Function.
Procedure
To create a number replacement table
Mode
Context CS
Command
Purpose
Step 1
node
(ctx-cs)[
switch
]# translation-table
tbl-
name
number-in number-out
Create a translation table by adding the
first line.
Step 2
Repeat step 1 to add lines for multiple
table entries.
Software Configuration Guide, Revision 1.03
Summary of Contents for SmartWare R2.00
Page 2: ......